Search Results

Search: Posts Made By: muffle
2,214
Posted By muffle
It's really helpful. I need to get used to this....
It's really helpful. I need to get used to this. Thanks a lot.
2,214
Posted By muffle
ssh uses here-document problem
I try to ssh uses bash script in here-document like this.

ssh root@$SERVER <<EOF
if [ `service httpd status | grep stop` ]; then
service httpd start
fi
exit
EOF

But got an error...
1,463
Posted By muffle
I've figured it out myself. Checking every...
I've figured it out myself.

Checking every minute to get the current time. If it is = TIME_STOP, kill the session of that user (use pkill -KILL -u username) and also lock the username

Thanks...
1,407
Posted By muffle
I've forgotten about the powerful awk. thank you...
I've forgotten about the powerful awk. thank you for your solution.
1,463
Posted By muffle
my boss's requirement. About sleep 60, isn't it...
my boss's requirement. About sleep 60, isn't it only runs the while loop every 60 seconds when we run the script ?
1,463
Posted By muffle
Specified log in time for users
I have this task : Check the logintime.txt every minute to only allow user to log in at the specified time.

logintime.txt has the following content: USER TIME_START TIME_STOP
Example:

john...
1,407
Posted By muffle
I get it. Thank you so much.
I get it. Thank you so much.
1,407
Posted By muffle
Find max value problem
I have a file about cpu load like this (the first column is time, the second column is cpu load):

11:34:01 0.10
11:34:37 0.05
11:35:13 0.03
11:35:59 0.06
11:38:00 0.02
11:38:09 0.17
11:39:48...
24,412
Posted By muffle
Thanks to both jlliagre & radoulov. I understand...
Thanks to both jlliagre & radoulov. I understand now.
24,412
Posted By muffle
Thank you so much for your reply. I'm not...
Thank you so much for your reply.

I'm not sure about ps x. I read it from the book and it can run well when I type in the terminal.
24,412
Posted By muffle
ps command
What is the difference between ps -ax and ps -x? I got the meaning here but don't understand it clearly.

-a List information about all processes most frequently requested: all those except process...
Showing results 1 to 11 of 11

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