Search Results

Search: Posts Made By: grauzikas
4,003
Posted By grauzikas
delugeag thanx, hou i did`nt invet`ed that, thnx...
delugeag thanx, hou i did`nt invet`ed that, thnx again
4,003
Posted By grauzikas
[Solved] need to get cpu usage with 1 request
Hello,

i`m creating an script that collect`s data from virtual machines about cpu usage and store that data into RRD.

so everything now works fine, but it takes long time if in machine is a lot...
1,593
Posted By grauzikas
i alredy remaked that script, and now my else...
i alredy remaked that script, and now my else wont work


#!/bin/sh
s1_ats=0


while [ 1 ]; do
sleep 1



s1=`ping -c 1 1.2.3.4 | grep 64 | awk '{print $1}'`
if [ "$s1" == "64" ] ; then...
1,593
Posted By grauzikas
need help with little bash server monitor script
hello,

i`m new in bash scripting and i getting an error with my little server monitoring script

example of my script:

#!/bin/sh
s1_ats=0


while [ 1 ]; do
sleep 5



s1=`ping -c 1...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy