sentinella1
System monitor that can react to user chosen conditions
Usage
sentinella [Qt-options]
[KDE-options]
[options]
Overview
Action launcher based on system activity
Generic options:
-
--help -
Show help about options
-
--help-qt -
Show Qt specific options
-
--help-kde -
Show KDE specific options
-
--help-all -
Show all options
-
--author -
Show author information
-
-v, --version -
Show version information
-
--license -
Show license information
-
-- -
End of options
Options
-
-s, --start -
The condition will be run immediately.
Condition options:
-
--cpu <percentage> -
<html>CPU load measurement. Use in combination with
--during,--loweror--higher.</html>
-
--memory <megabytes> -
Memory usage in megabytes. Use in combination with
--during,--loweror--higher.
-
--network <kb> -
Network traffic in kilobytes/second. Use in combination with
--interface,--duringand--loweror--higher.
-
--date-time <value> -
Current date and time condition. The format should be: YYYY-MM-DDTHH:MM:SS
-
--program-dies <pid> -
The condition will be met when the process of id <pid> dies.
-
-h, --higher -
The condition will be met if the system's activity is higher than your chosen value.
-
-l, --lower -
The condition will be met if the system's activity is lower than your chosen value.
-
-d, --during <time> -
The time during the condition must be met to throw the action. Format: MM:SS.
-
-i, --interface <name> -
Sets the name of the network interface to monitor when using the
--networkparameter.
Action options:
-
--shutdown <force> -
Shutdown the computer when the condition is met. <force> values are 'yes' or 'no'.
-
--reboot <force> -
Reboot the computer when the condition is met. Possible values for <force> are 'yes' or 'no'.
-
--sleep <mode> -
Place computer in sleep mode when the condition is met. Possible values for <mode> are 'Standby', 'Suspend' or 'Hibernate'.
-
--execute-command -
The command will be read from stdin.
-
--play-alarm -
Play an alarm as an action.
--terminate-program <pid> It will try to terminate the program specified by <pid>.
History
- Debian 8 (Jessie): the text shown here
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
--execute-command since Debian 7 (Wheezy);
--play-alarm since Debian 8 (Jessie).