Create Infographics, Reports and Maps - Infogram
Create engaging infographics and reports in minutes
Infogram is an intuitive visualization tool that empowers people and teams to create beautiful content.
charts  visualization  infographics  OnlineService 
10 days ago
Bash Script to Check How Long the High CPU/Memory Consumption Processes Runs on Linux |
ps -eo pid,user,ppid,%mem,%cpu,cmd --sort=-%cpu | head | tail -n +2 | awk '{print $1}' > /tmp/long-running-processes.txt
echo "--------------------------------------------------"
echo "UName PID CMD Process_Running_Time"
echo "--------------------------------------------------"
for userid in `cat /tmp/long-running-processes.txt`
username=$(ps -u -p $userid | tail -1 | awk '{print $1}')
pruntime=$(ps -p $userid -o etime | tail -1)
ocmd=$(ps -p $userid | tail -1 | awk '{print $4}')
echo "$username $userid $ocmd $pruntime"
done | column -t
echo "--------------------------------------------------"
linux  shell  CLI  terminal  bash  monitor  cpu  processes 
4 weeks ago
linux - Date command go back to 30 days from a particular date - Stack Overflow
ADate=$(date -d"10 days ago" +Y%-%m-%d")
BDate=$(date -d"$ADate - 30 days" +%s)
echo $BDate
linux  bash  date 
5 weeks ago
« earlier      
android apache apple apps article automation automotive awk backup bash blog books boot browser bsd centos cheatsheets check chrome cli cloud cloud_storage cms code coding collaboration command commands computer configuration configure containers convert cpu create css data database debian delete design desktop development directory disk distros diy dns docker ebooks editor education emacs email employment encryption excel facebook fedora file files filesystem find firefox firewall font fonts framework free freelance freeware fun games generator git github gmail google government grep guide hacking hardware health history home hosting howto html html5 icons image images information install interesting internet interview javascript job jobs kali keyboard kubernetes laptop learning lego lh lifehacker linux logs mac management media_centre medium melbourne memory microsoft mindfulness mobilephone monitoring motorcycles ms ms_office mte multiple muo music mysql netflix network networking news nmap online_service online_shopping onlineservice onlineshopping organisation partition password passwords pdf performance perl photography php podcast privacy process productivity programming python raspberry_pi raspberrypi recovery redhat reference regex remote rhel rpi rpm ruby script scripting scripts search security sed server shell sleep social_networking software space ssh ssl sysadmin system systemd templates terminal text time tips to_check tool tools training travel tutorials twitter ubuntu unsorted usb utilites vi video vim vpn web webdesign webdev webdevelopment webserver websitecreation webtools wi-fi wiki win10 windows windows7 wintools wireless wordpress work writing x-platform youtube yum

Copy this bookmark: