KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to run a string of nohup commands to get server statistics. However I get an error of 'No such file or directory' . Note that the 3 nohup calls are embedded in a script which is executed through a cron job. And the first nohup works but the other 2 return an error. Ironically enough, when run on a different server, the script works fine. Commands nohup vmpstat -a -n 60 1000 > myvmstats (works) nohup mpstat -P ALL 1 1000 > mympstats (returns: nohup cannot run command mpstat : no such file or directory) nohup iostat -t -x 60 1000 >myiostats (returns: nohup cannot run command iostat : no such file or directory) Any idea what's wrong?
Tags (comma-separated)
Save Edits
Cancel