02-26-2002
To check the capacity of your hard drive, not encrypted use:
df -k (for Solaris)
bdf (for HPUX
Also, to check your hardware you can try:
sysdef - display system definition
modinfo - display information about loaded kernel modules
prtconf |grep "Memory size" - to check your memory
ioscan - scan I/O system (HPUX)
psrinfo |wc -l - Display number of processors
sar - system activity reporter
sar -u - CPU utilisation or use
top - display and update information about the top processes on the system
I hope these commands help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Let me give a little background on the problem. I am trying to hook up a unix box through a KVM to a display. The KVM is connected to a windows box as well. When I run the mouse and monitor directly to the unix box it works pretty well. However when I trie to load it through the KVM the keyboard... (0 Replies)
Discussion started by: Winzernotman
0 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. Solaris
Hi
I am right now facing a strange hardware problem. System get booted with the following error:
Fatal Error Reset
CPU 0000.0000.0000.0003 AFSR 0100.0000.0000.0000 SCE
AFAR 0000.07c6.0000.1000
SC Alert: Host System has Reset
It happen 4 or 5 times and get the same error every time.I... (8 Replies)
Discussion started by: girish.batra
8 Replies
4. AIX
Does anyone know the hyperlink settings to look at an AIX5L box? (1 Reply)
Discussion started by: vbagwell
1 Replies
5. Linux
Hi,
How to set ip address in linux.
Regards,
Guguli (1 Reply)
Discussion started by: guguli
1 Replies
6. UNIX for Advanced & Expert Users
Hello
I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine.
Is it possible to set up user settings so a user is just able to... (1 Reply)
Discussion started by: mimaca
1 Replies
7. UNIX for Dummies Questions & Answers
HP-UX B.11.23 U ia64
model: HP RX7640/4
What commands can I issue to find out quantity/type of memory and CPUs?
I know what I get from Glance but want to know if there are OS commands to get same or additional information.
Thanks.
Lisa (4 Replies)
Discussion started by: LisaS
4 Replies
8. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
9. UNIX for Advanced & Expert Users
First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me.
Is there a way to find the hardware model name from the command line on UNIX machines in general?
I want to find out what kind of machines are running at a... (5 Replies)
Discussion started by: Pug
5 Replies
10. Solaris
Hello Everyone,
I'm new to Solaris, less than a week to give an idea how green I am.:eek: Although new to UNIX, I've been running Linux (i.e. OpenSUSE, Ultimate Edition, Arch, and obviously Ubuntu) for many years, so, I decided to put Solaris 11 on my 12 core opteron. I had a bit of difficulty... (23 Replies)
Discussion started by: Nostradamus1973
23 Replies
LEARN ABOUT CENTOS
prtdiag
prtdiag(1M) prtdiag(1M)
NAME
prtdiag - display system diagnostic information
SYNOPSIS
/usr/sbin/prtdiag [-v] [-l]
prtdiag displays system configuration and diagnostic information on sun4u and sun4v systems.
The diagnostic information lists any failed field replaceable units (FRUs) in the system.
The interface, output, and location in the directory hierarchy for prtdiag are uncommitted and subject to change in future releases.
prtdiag does not display diagnostic information and environmental status when executed on the Sun Enterprise 10000 server. See the
/var/opt/SUNWssp/adm/${SUNW_HOSTNAME}/messages file on the system service processor (SSP) to obtain such information for this server.
The following options are supported:
-l Log output. If failures or errors exist in the system, output this information to syslogd(1M) only.
-v Verbose mode. Displays the time of the most recent AC Power failure, and the most recent hardware fatal error information, and (if
applicable) environmental status. The hardware fatal error information is useful to repair and manufacturing for detailed diagnos-
tics of FRUs.
The following exit values are returned:
0 No failures or errors are detected in the system.
1 Failures or errors are detected in the system.
2 An internal prtdiag error occurred, for example, out of memory.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWkvm |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable* |
+-----------------------------+-----------------------------+
*The output is unstable.
modinfo(1M), prtconf(1M), psrinfo(1M), sysdef(1M), syslogd(1M), attributes(5), openprom(7D)
NOTES
Not all diagnostic and system information is available on every Solaris platforn, and therefore cannot be displayed by prtdiag. On those
platforms, further information can be obtained from the System Controller.
29 Aug 2005 prtdiag(1M)