Confirmed users
3,376
edits
| Line 25: | Line 25: | ||
== Available Commands == | == Available Commands == | ||
run [executable] [args] - start program no wait | |||
exec [executable] [args] - start program wait | |||
fire [executable] [args] - start program no wait | |||
arun [executable] [args] - start program no wait | |||
kill [program name] - kill program no path | |||
ps - list of running processes | |||
info - list of device info | |||
[os] - os version for device | |||
[id] - unique identifier for device | |||
[uptime] - uptime for device | |||
[systime] - current system time on device | |||
[screen] - width, height and bits per pixel for device | |||
[memory] - physical, free, available, storage memory for device | |||
[processes] - list of running processes see 'ps' | |||
alrt [on/off] - start or stop sysalert behavior | |||
disk [arg] - prints disk space info | |||
cp file1 file2 - copy file1 to file2 on device | |||
time file - timestamp for file on device | |||
hash file - generate hash for file on device | |||
cd directory - change cwd on device | |||
cat file - cat file on device | |||
cwd - display cwd on device | |||
mv file1 file2 - move file1 to file2 on device | |||
push filename - push file to device | |||
rm file - delete file on device | |||
rmdr directory - delete empty directory on device | |||
prune directory - delete directory on device even if not empty | |||
mkdr directory - create directory on device | |||
dirw directory - tests whether the directory is writable on the device | |||
stat processid - stat process on device | |||
dead processid - print whether the process is alive or hung on device | |||
mems - dump memory stats on device | |||
ls - print directory on device | |||
tmpd - print temp directory on device | |||
ping [hostname/ipaddr] - ping a network device | |||
rebt - reboot device | |||
unzp archivename [dir] - unzip a zipfile respecting directories optionally into dir | |||
clok - print current device time | |||
quit - reset all network connections on SUTAgent | |||
exit - shutdown the SUTAgent | |||
help - you're reading it | |||
== DeviceManager library == | == DeviceManager library == | ||