Unix Programming - looking for AIX cmd

This is Interesting: Free IT 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, 7:22 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, 7:22 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, 7:48 am

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






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com