You are not logged in.

#1 2011-11-02 01:55:59

kennethkoontz
Member
Registered: 2011-08-23
Posts: 11

Server statistics when sshing into server

I have an Arch server that I'd like to get some stats on; temperature, disk usage, cpu usage, when I ssh into the server. Anyone know of a utility or how this can be accomplished?

Offline

#2 2011-11-02 01:57:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Server statistics when sshing into server

du for disk usage, uptime for load avg.
I'm not sure about the temp, but maybe lm_sensors?

Offline

#3 2011-11-02 01:58:34

kennethkoontz
Member
Registered: 2011-08-23
Posts: 11

Re: Server statistics when sshing into server

@karol: Thanks I'll give those a go.

Offline

#4 2011-11-02 10:26:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Server statistics when sshing into server

Df, htop, lm_sensors.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2011-11-02 11:54:45

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Server statistics when sshing into server

Put a script that does what you want in your .bashrc.

Offline

#6 2011-11-02 15:22:54

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Server statistics when sshing into server

Byobu (ex screen-profiles) has a customizable status area. Automatically reattach with e.g. "ssh -t user@server byobu -D -R" - ace.

Offline

Board footer

Powered by FluxBB