Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"top -b -n1" and cron

Status
Not open for further replies.

clarissa1996

Technical User
Jan 31, 2002
78
CH
I am trying to start the following command with cron:

top -b -n1

... but I receive the following error:

top: tcgetattr() failed: Invalid argument

Can someone help me ?

TIA Michelangelo Rezzonico
 
Try putting the entire command in "" in the cron file and specify the full path to /usr/bin/top.

***** "/usr/bin/top -b -n1"

ChrisP If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top