Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR4211: Rapid Fire 1

Hosted by operat0r on 2024-09-23 00:00:00
Download or Listen

cat /usr/local/sbin/TOP

clear
echo `date` INFO: Showing any processes with videos open with ps aufx
# use LSOF insted .. ps aufx|grep -iaE "(\.avi|\.mpg|\.mov|\.flv|\.wmv|\.asf|\.mpeg|\.m4v|\.divx|\.mp4|\.mkv|\.sub|\.iso|\.264|\.vob|\.srt|\.img|\.sfv)" ps aufx|grep -iaE "(\.avi|\.mpg|\.mov|\.flv|\.wmv|\.asf|\.mpeg|\.m4v|\.divx|\.mp4|\.mkv|\.sub|\.iso|\.264|\.vob|\.srt|\.img|\.sfv)"

lsof -w | awk '{for (i = 1; i < 9; i++) $i = ""; sub(/^ */, ""); print}'|sort -u |  grep -iaE "(\.avi|\.mpg|\.mov|\.flv|\.wmv|\.asf|\.mpeg|\.m4v|\.divx|\.mp4|\.mkv|\.sub|\.iso|\.264|\.vob|\.srt|\.img|\.sfv)" | grep -vE "(Beakman|\.movie)"


sleep 8
pkill -f tmux
tmux new-session -s asdf -n myWindow -d 'btop'\; \
split-window -d 'nethogs -v 3 -p'\; \
split-window -d 'intel_gpu_top'\; \
select-pane -t 0 \; \
resize-pane -y 24 \;  attach-session

HPR Comments

Mastodon Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.