For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > April 2005 > looking for AIX cmd









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author looking for AIX cmd
jdunphy

2005-03-30, 3:59 pm

i'm looking for a AIX5.1 command which will print out all system
resources ie disks, cpu (speed), memory (physcal / virtual), IP, model
#, serial # pretty much everything you need for a systen aduit. thanks

Tao Chen

2005-03-30, 3:59 pm

jdunphy wrote:
> i'm looking for a AIX5.1 command which will print out all system
> resources ie disks, cpu (speed), memory (physcal / virtual), IP,

model
> #, serial # pretty much everything you need for a systen aduit.

thanks

Check out 'lscfg', 'lsdev' and 'lsattr' commands.

'lscfg -v' output is good representation of physical resources.

'lsattr' gives more details of a given device, for example:

# lsattr -El proc0
frequency 375000000 Processor Speed False
state enable Processor state False
type PowerPC_POWER3 Processor type False

# lsattr -El mem0
goodsize 4096 Amount of usable physical memory in Mbytes False
size 4096 Total amount of physical memory in Mbytes False

[BTW, this group is for generic Unix/GNU programming questions.
AIX has its own comp.unix.aix.]

Tao

ranazar@yahoo.com

2005-04-20, 3:59 pm

prtconf is also a very useful little command, giving you disk, cpu,
memory, IP, and a list of devices in the system. You'll also get serial
number (and machine/model) and LPAR info.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com