Hi All,
Could any one pls tell me how to find whether a unix server is a stand alone server or its in a cluster.
I need a command through which i can find whether the unix m/c is clustered or not.
Thanx in advance
Regards,
Naveen (1 Reply)
Hi experts
Is there a command or a way in Solaris to find server details like this:
SUN240R
2 @ 160MHz CPU
1Gb memory
Solaris8
lan0 (16SV LAN) 100FD
lan1 (45CI LAN) 100FD
lan2 (8CON LAN) 10HD
lan3 (38SY LAN) 100HD
Thanks (1 Reply)
hi
is there any way to find out all the shells on server i know bash / ksh are available on all servers but just for Curiosity i want to know .. is there any command for that ???
i can find it out by this
$ /usr/bin >find . -name \*sh
./remsh
./csh
./ksh
./rsh
./chsh
./rksh
./sh... (3 Replies)
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
I have a list of servers which has both VIP and normal server. Is there a command to identify which server is a VIP and which is a normal server?
Please help. (1 Reply)
Discussion started by: Usha Rajesh
1 Replies
LEARN ABOUT OPENDARWIN
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)