Sponsored Content
Top Forums UNIX for Advanced & Expert Users Solaris 9: How to check if X server is running Post 302086677 by R00tSc0rpi0n on Friday 25th of August 2006 05:42:32 PM
Old 08-25-2006
Solaris 9: How to check if X server is running

Hi,

In Solaris 9, how do I know if the X server is running.

Please let me know.

Thanks

Last edited by R00tSc0rpi0n; 08-26-2006 at 12:51 AM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to check running processes on remote server.

Hi, I am trying to write a script, which queries a db to get the names of processes, stores it in a file and then checks if that process is running on a remote server. However I am not getting it right, could anyone help me out. #!/bin/sh echo "select Address from Device where Cust =... (5 Replies)
Discussion started by: amitsayshii
5 Replies

2. UNIX for Advanced & Expert Users

how to check if a process is running in a server from shell script.

I want to write a unix shell script that will check if a process (say debu) is running in the server or not. If no , then send a mail to the corresponding person to start the process??? (2 Replies)
Discussion started by: debu
2 Replies

3. Shell Programming and Scripting

check web server running on local and on remote machine

Hi , How to check whether web server is running from remote machine How to check whether web server is running on web server itself Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies

4. Solaris

How to check when a solaris server got rebooted

In Windows we can check the event viewer for entries 6005,6006,6009 to confirm the system down times, as in when it got down and when it came back up. Is there some similar log files in Solaris/RHEL that I can check the timings and who or what caused the system reboot. I am an absolute newbie. Need... (4 Replies)
Discussion started by: lubu
4 Replies

5. Solaris

How to check the number of emails sent out from the Solaris server

Our solaris are configured to send out email and i would like to know the number of emails sent out from the solaris server. Anyone know can this be done? Thanks (1 Reply)
Discussion started by: sirius20d
1 Replies

6. Solaris

Service error on sparc server running solaris 10

Hi, I am getting following service error on one of the sparc servers running solaris 10 - Code : $ svcs -a | grep "maintenance" maintenance Nov_08 svc:/application/management/sma:default $ svcs -xv svc:/application/management/sma:default (net-snmp SNMP daemon) State: maintenance... (8 Replies)
Discussion started by: sunadmin
8 Replies

7. AIX

Need to check long running processes on the database server and the os is AIX

Hello, Please help me with a script with which I can check long running processes on the database server and the os is AIX. Best regards, Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies

8. UNIX for Beginners Questions & Answers

Check processes running on remote server

Hello Guys, I need some help to find out if processes are running on remote server or not. I could do 'ssh' to do that but due to some security reasons, I need to avoid the ssh & get result from remote server. Could you please suggest some that can be done without ssh or similar sort of... (8 Replies)
Discussion started by: UnknownGuy
8 Replies
nisstat(1M)						  System Administration Commands					       nisstat(1M)

NAME
nisstat - report NIS+ server statistics SYNOPSIS
/usr/lib/nis/nisstat [-H host] [directory] DESCRIPTION
The nisstat command queries a NIS+ server for various statistics about its operations. These statistics may vary between implementations and from release to release. Not all statistics are available from all servers. If you request a statistic from a server that does not sup- port that statistic, it is never a fatal error. The message "unknown statistic" is returned. By default, statistics are fetched from the server(s) of the NIS+ directory for the default domain. If directory is specified, servers for that directory are queried. Supported statistics for this release are as follows: root server This reports whether the server is a root server. NIS compat mode This reports whether the server is running in NIS compat mode. DNS forwarding in NIS mode This reports whether the server in NIS compat mode will forward host lookup calls to DNS. security level This reports the security level of this server. serves directories This lists the directories served by this server. Operations This statistic returns results in the form: OP=opname:C=calls:E=errors:T=micros Where opname is replaced by the RPC procedure name or operation, calls is the number of calls to this procedure that have been made since the server started running. errors is the number of errors that have occurred while processing a call, and micros is the average time in microseconds to complete the last 16 calls. Directory Cache This statistic reports the number of calls to the internal directory object cache, the number of hits on that cache, the number of misses, and the hit rate percentage. Group Cache This statistic reports the number of calls to the internal NIS+ group object cache, the number of hits on that cache, the number of misses, and the hit rate percentage. Static Storage This statistic reports the number of bytes the server has allocated for its static storage buffers. Dynamic Storage This statistic reports the amount of heap the server process is currently using. Uptime This statistic reports the time since the service has been running. Per-server and per-directory access restrictions may apply. See nisopaccess(1). nisstat uses NIS_STATUS. OPTIONS
-H host Normally all servers for the directory are queried. With this option, only the machine named host is queried. If the named machine does not serve the directory, no statistics are returned. ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ directory name is not fully qualified, each directory specified will be searched until the directory is found. See nisdefaults(1). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nisdefaults(1), nisopaccess(1), attributes(5) NOTES
NIS+ might not be supported in future releases of the Solaris Operating system. Tools to aid the migration from NIS+ to LDAP are available in the current Solaris release. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.11 12 Dec 2001 nisstat(1M)
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy