Redirect proshut results to a file

tsambro

New Member
Hello!

I'm trying to redirect proshut results to a file, but this instruction needs to push return key some times. So it is not possible to do it in an unattended mode.

It is possible to do that?
Can I put all lines proshut returns to a file without press any key, and obtain a file with all users connected?
And, it is possible to exit proshut without press "x"?

Thank you very much in advance.

Toni
 
Try looking at proshut -by or proshut -bn.

proshut -by will shut the database even if there are users connected.

proshut -bn will only shut the database if no users are connected.

You coluld also use promon taking instructions from an input file to check who is on the database.

e.g.
promon database < instruct.txt
proshut -by database.
 
Top