Re: command-line equivalents of SAM functionality

From: Wladimir Mutel (mwg_at_fluffy.isd.dp.ua)
Date: 02/26/04


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 .



Relevant Pages

  • Re: No addr book after KB914454
    ... Then I tried Windows Update Install a second time. ... |> a doublebyte alphabetic character is represented simply by a null followed ... |> doublebyte character and the letter character matches the other half, ...
    (microsoft.public.windowsupdate)
  • Re: More fun with "my" New Laptop
    ... George Graves wrote: ... Not so happy about getting WiFi to work on Windows though. ... (you need to enter it as a 26 character HEX code, ... disabling WEP allowed the Dell to connect instantly. ...
    (comp.sys.mac.advocacy)
  • Re: More fun with "my" New Laptop
    ... Not so happy about getting WiFi to work on Windows though. ... "other" type in the network name and the WEP code ... (you need to enter it as a 26 character HEX code, ... disabling WEP allowed the Dell to connect instantly. ...
    (comp.sys.mac.advocacy)
  • Re: Help wanted: CL, ASDF, and MSWin shortcuts
    ... lnk_resolve now works on windows XP and understands Cyrillic ... deeper in a character pecularities. ... asdf and now there is Mudballs. ... I just have finished huge 10$ lisp job, ...
    (comp.lang.lisp)
  • Re: Writing to the newsgroup?
    ... The header information in your post indicates you are in a Windows ... to type Japanese directly into your post rather than cut or paste. ... browser automatically selects UTF-8 for character encoding. ... Did switch my character encoding to UTF-8 and it didn't help at all... ...
    (sci.lang.japan)