Edit your /mod/var/spool/cron/crontabs/root file to change this line:
* * * * * /mod/monitor/run
to this:
* * * * * /mod/monitor/run -d
Reboot the Humax, then open two Telnet sessions.
In the first one, do:
Code:
humax# cat /mod/etc/init.d/S01crond
humax# ps ax|grep crond
humax# pkill crond
humax# /mod/sbin/crond -f -d 1
and in the second run this every minute for say 10 minutes:
Code:
humax# sqlite /mod/monitor/monitor.db "select * from vmstat where dat>1392989000"
First telnet session
Humax HDR-Fox T2 (HumaxHDRFoxT2two) 1.03.11/2.22
HumaxHDRFoxT2two# cat /mod/etc/init.d/S01crond
#!/bin/sh
export TZ=GMT+0BST,M3.5.0/1,M10.5.0/2
case "$1" in
start)
/mod/sbin/crond & ;;
stop)
killall crond ;;
*)
exit 1 ;;
esac
HumaxHDRFoxT2two# ps ax|grep crond
711 ? SNs 0:00 /mod/sbin/crond
1143 pts/0 SN+ 0:00 grep crond
HumaxHDRFoxT2two# pkill crond
HumaxHDRFoxT2two# /mod/sbin/crond -f -d 1
crond: crond (busybox 1.20.2) started, log level 1
crond: user:root entry:0 2 * * * /mod/sbin/anacron -s -d
100000000000000000000000000000000000000000000000000000000000
001000000000000000000000
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/sbin/anacron -s -d
crond: user:root entry:* * * * * /mod/monitor/run
111111111111111111111111111111111111111111111111111111111111
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/monitor/run
crond: user:root entry:*/10 * * * * /mod/webif/lib/bin/auto >/dev/null 2>&1
100000000010000000001000000000100000000010000000001000000000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/webif/lib/bin/auto >/dev/null 2>&1
crond: user:root entry:0 2 * * * /mod/sbin/anacron -s -d
100000000000000000000000000000000000000000000000000000000000
001000000000000000000000
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/sbin/anacron -s -d
crond: user:root entry:* * * * * /mod/monitor/run
111111111111111111111111111111111111111111111111111111111111
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/monitor/run
crond: user:root entry:*/10 * * * * /mod/webif/lib/bin/auto >/dev/null 2>&1
100000000010000000001000000000100000000010000000001000000000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: command:/mod/webif/lib/bin/auto >/dev/null 2>&1
crond: wakeup dt=40
crond: file root:
crond: line /mod/sbin/anacron -s -d
crond: line /mod/monitor/run
crond: job: 0 /mod/monitor/run
crond: line /mod/webif/lib/bin/auto >/dev/null 2>&1
crond: child running /bin/sh
crond: USER root pid 1160 cmd /mod/monitor/run
crond: wakeup dt=10
crond: wakeup dt=50
crond: file root:
crond: line /mod/sbin/anacron -s -d
crond: line /mod/monitor/run
crond: job: 0 /mod/monitor/run
crond: line /mod/webif/lib/bin/auto >/dev/null 2>&1
crond: child running /bin/sh
crond: USER root pid 1174 cmd /mod/monitor/run
crond: wakeup dt=10
crond: wakeup dt=50
crond: file root:
crond: line /mod/sbin/anacron -s -d
crond: line /mod/monitor/run
crond: job: 0 /mod/monitor/run
crond: line /mod/webif/lib/bin/auto >/dev/null 2>&1
crond: child running /bin/sh
crond: USER root pid 1188 cmd /mod/monitor/run
crond: wakeup dt=10
crond: wakeup dt=50
crond: file root:
crond: line /mod/sbin/anacron -s -d
crond: line /mod/monitor/run
crond: job: 0 /mod/monitor/run
crond: line /mod/webif/lib/bin/auto >/dev/null 2>&1
crond: child running /bin/sh
crond: USER root pid 1202 cmd /mod/monitor/run
crond: wakeup dt=10
How do I open a second telnet session?