01-31-2013
Finding system uptime without login
Hi,
Am writing a script where I want to find uptime of certain servers. Is there any command where we can find uptime without login to the server, since the server list is big logging to the server will time consuming.
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I find out what C++ compilers are available on my system?
Thanks in advance (7 Replies)
Discussion started by: HelpMeIAmLost
7 Replies
2. UNIX for Dummies Questions & Answers
Can someone tell me the command to display the info about the CPU? I need the CPI id.. of my SUN box. Solaris 8.
It's some totally un-intuitive command, and i can't recall it.
tnx. (3 Replies)
Discussion started by: ireeneek
3 Replies
3. AIX
Hi all,
I've searched around and not found any specific solution to my problem, so wondered if someone out there could help.
I'm in the process of migrating some shell scripts from HP UNIX to AIX and one of the scripts uses the 'logname' command.
On HP 'logname' returns the login name,... (8 Replies)
Discussion started by: Boothy
8 Replies
4. UNIX for Dummies Questions & Answers
My Linux system was last rebooted few hours ago.
But it seems little confusing for me to figure out the exact reason behind it.
I guess following command should justify what i meant to say.
# date
Wed May 11 13:22:49 IST 2011
# last | grep "May 10"
reboot system boot 2.6.18-194.el5 ... (5 Replies)
Discussion started by: pinga123
5 Replies
5. Shell Programming and Scripting
Hi!
I want to extract the uptime from the output of the uptime command.
The output:
11:53 up 3:02, 2 users, load averages: 0,32 0,34 0,43
I just need the "3:02" part. How can I do this?
Dirk (6 Replies)
Discussion started by: Dirk Einecke
6 Replies
6. Solaris
Hello folks,
uptime command not shows how long the system has been up.
I know it come from a corruption of /var/adm/utmpx file.
I've done :
cat /dev/null > /var/adm/utmpx
Now who and last commands work fine. But uptime still give me back an answer without the "up time".
In which... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
7. Shell Programming and Scripting
I know the ipaddress of a remote machine and would like to know its hostname
I used the nslookup command but... is there an easier way of doing it... just like hostname command.
When i give this command i get the following
nslookup 10.2.47.36
Server: 10.233.04.31
Address: ... (2 Replies)
Discussion started by: ramky79
2 Replies
8. Shell Programming and Scripting
OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform.
I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
Discussion started by: Yeaboem
1 Replies
9. Solaris
OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform.
I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
Discussion started by: Yeaboem
1 Replies
10. AIX
How to find Physical server uptime from HMC/ ASMI.
Server was in standby mode. We have started the Lpar manually. Server rebooted automatically but no information updated in Lpars's errpt, alog.console or HMC prior to the reboot. (1 Reply)
Discussion started by: sunnybee
1 Replies
LEARN ABOUT DEBIAN
kumostat
KUMOSTAT(1) General Commands Manual KUMOSTAT(1)
NAME
kumostat - get kumofs status
SYNOPSIS
kumostat server-address[:port=19800] command
kumostat -m manager-address[:port=19700] command
DESCRIPTION
Get status from Server node.
COMMANDS
pid get pid of server process
uptime get uptime
time get UNIX time
version
get version
cmd_get
get total number of processed get requests
cmd_set
get total number of processed set requests
cmd_delete
get total number of processed delete requests
items get number of stored items
rhs get rhs (routing table for Get)
whs get whs (routing table for Set/Delete)
hscheck
check if rhs == whs
set_delay
maximize throughput at the expense of latency
unset_delay
maximize throughput at the expense of latency
DELAY MODE
If the delay mode is enabled, req/sec throughput is maximized at the expense of latency. This mode actually disables TCP_NODELAY option of
all sockets. The practice of this feature is as following:
- run some scripts that watches load of the kumo-server. (see source code of kumotop)
- if the load of kumo-server becomes high, enable delay mode by kumostat set_delay command.
- if the load of kumo-server becomes low, disable delay mode by kumostat unset_delay command.
EXAMPLE
$ kumostat svr1 items
$ kumotop -m mgr1 hscheck
SEE ALSO
kumo-server(1).
kumostat July 2009 KUMOSTAT(1)