Re: command-line equivalents of SAM functionality
From: Corné Beerse (I.Dont_at_want.your.spam)
Date: 02/26/04
- Previous message: Wladimir Mutel: "command-line equivalents of SAM functionality"
- In reply to: Wladimir Mutel: "command-line equivalents of SAM functionality"
- Next in thread: Tapani Tarvainen: "Re: command-line equivalents of SAM functionality"
- Reply: Tapani Tarvainen: "Re: command-line equivalents of SAM functionality"
- Reply: Wladimir Mutel: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 26 Feb 2004 11:31:47 +0100
Wladimir Mutel wrote:
> Hi,
>
> I want to get disk device informations on my system (HP-UX 11.11).
> I run SAM, choose 'Disks and file systems' -> 'Disk Devices', and see
> their hardware paths, device names, and sizes. Now I would like to
> request the same information from the command line, and to use it in
> script. What commands should I use ? We have some disks not included
> into volume groups. And pvdisplay does not help in their case. What
> should I use instead ?
Try `iostat` for that.
btw: if you remove the $DISPLAY variable before starting sam (`unset DISPLAY`),
you get the character based sam (still kind of windows, now with characters). If
you feed this with the proper commands and capture this to a file, then you get
an ascii-movie of the sam actions: just `cat` the output. Be sure to use the
same $TERMINAL setting in both sides. To be able to read and follow the screen,
it is nice to have a realy slow connection (like 300 baud...)
Then, you can always peek into sam: run a `ps` to see which commands `sam` fires.
CBee
- Previous message: Wladimir Mutel: "command-line equivalents of SAM functionality"
- In reply to: Wladimir Mutel: "command-line equivalents of SAM functionality"
- Next in thread: Tapani Tarvainen: "Re: command-line equivalents of SAM functionality"
- Reply: Tapani Tarvainen: "Re: command-line equivalents of SAM functionality"
- Reply: Wladimir Mutel: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|