[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Which Schema to use?
Hi All,
I'm writing an app that will retrieve simple status information from remote
servers, probably by connecting to them over SSH and then retrieving the
result of a "top -b -n 1".
Once the data has been retrieved I then want to broadcast it over xAP, and
then use Floorplan scripts to react to it accordingly (for example by
sending xap messages for sms, display, email, speech, etc).
An example of the data that I'm going to retrieve is:
datetime: 1712200192032
uptime: 221 days, 13:49
users: 4
loadaverage: 1.04
loadaverage5: 0.91
loadaverage15: 0.83
processestotal: 168
processessleeping: 163
processesrunning: 3
processeszombie: 1
processstopped: 1
cpuuser: 19.8%
cpunice: 0.0%
cpusystem: 1.7%
cpuirq: 0.0%
cpusoftirq: 0.0%
cpuiowait: 0.2%
cpuidle: 78.1%
memoryav: 4027668
memoryused: 3970012
memoryfree: 5765
memoryshrd: 0
memorybuff: 29572
memoryactv: 2595360
memoryin_d: 537772
memoryin_c: 73160
swapav: 2048276
swapused: 983920
swapfree: 1064356
swapcached: 1878028
Is there a schema that currently encompasses the above in some way? Or do
I
need to create one for it? If so, what's the procedure for doing so - does
it need "approval" in some way?
Cheers,
Martyn
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|