File: sys_uptime.sh

package info (click to toggle)
bayonne 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 11,180 kB
  • ctags: 3,662
  • sloc: cpp: 38,791; sh: 9,323; ansic: 1,391; makefile: 485; perl: 471; java: 405; cs: 402; php: 354; python: 293
file content (4 lines) | stat: -rw-r--r-- 96 bytes parent folder | download
1
2
3
4
seconds=`cat /proc/uptime | cut -d\  -f1 | cut -d. -f1`
echo "$PORT_TSESSION result $seconds"