Re: command-line equivalents of SAM functionality
From: Wladimir Mutel (mwg_at_fluffy.isd.dp.ua)
Date: 02/26/04
- Next message: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Previous message: Wladimir Mutel: "Re: command-line equivalents of SAM functionality"
- In reply to: Corné Beerse: "Re: command-line equivalents of SAM functionality"
- Next in thread: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 26 Feb 2004 14:24:38 +0000 (UTC)
2004-02-26, =?ISO-8859-1?Q?Corn=E9_Beerse?= <I.Dont@want.your.spam> ÐÉÛÅÔ:
> 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.
iostat shows dynamic of disk transfers, not their sizes.
> 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...)
Too complicated way. In AIX I have at least 'lspv' and 'lsattr'
utilities. Why should not HP-UX provide me with something this
convenient ?
> Then, you can always peek into sam: run a `ps` to see which commands `sam` fires.
Again, that's the inconvenient way. In AIX, their 'smit' utility lets
me to see what command it intends to run.
I am now on hard way to get used to HP-UX :>
Thank you all for your further help .
- Next message: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Previous message: Wladimir Mutel: "Re: command-line equivalents of SAM functionality"
- In reply to: Corné Beerse: "Re: command-line equivalents of SAM functionality"
- Next in thread: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|