shell2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
shell2 [2020/08/02 15:55] – Added XML XPath tips for Roku ECP Apps list dblume | shell2 [2022/02/02 09:53] – [expect tips] dblume | ||
---|---|---|---|
Line 292: | Line 292: | ||
# at 3 in the morning on Mondays, delete files older than 30 days | # at 3 in the morning on Mondays, delete files older than 30 days | ||
0 3 * * 1 find $HOME/ | 0 3 * * 1 find $HOME/ | ||
+ | </ | ||
+ | |||
+ | ====== Calculate web server bandwidth ====== | ||
+ | |||
+ | Use '' | ||
+ | |||
+ | < | ||
+ | $ sudo cat / | ||
+ | 0.855597 | ||
</ | </ | ||
Line 370: | Line 379: | ||
Alternatively, | Alternatively, | ||
<code bash> | <code bash> | ||
- | while true; do sync; cat /proc/$(pidof yourprocess)/ | + | PID=$(pidof yourprocess); |
</ | </ | ||
====== Measuring Available Memory ====== | ====== Measuring Available Memory ====== |
shell2.txt · Last modified: 2023/05/17 09:47 by dblume