LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-28-2013, 07:07 PM   #16
aihaike
Member
 
Registered: Feb 2006
Location: Shanghai, China
Distribution: Slackware
Posts: 201

Rep: Reputation: 15

locally:
1 100 20% ls
2 95 19% nedit
3 87 17.4% cd
4 22 4.4% bg
5 18 3.6% mv
6 15 3% rm
7 14 2.8% wget
8 13 2.6% cat
9 11 2.2% cp
10 6 1.2% pwd

remotely:
1 233 28.6241% ls
2 147 18.059% cd
3 29 3.56265% make
4 19 2.33415% nvidia-smi
5 19 2.33415% find
6 16 1.9656% source
7 16 1.9656% mpirun
8 14 1.7199% whereis
9 14 1.7199% mdrun_mpi
10 13 1.59705% rm

and

1 160 23.2221% ls
2 126 18.2874% cd
3 54 7.83745% bjobs
4 46 6.67634% make
5 30 4.35414% cat
6 14 2.03193% cp
7 14 2.03193% bsub
8 11 1.59652% pwd
9 10 1.45138% for
10 8 1.1611% tail
 
Old 07-28-2013, 07:39 PM   #17
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,862

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Thumbs up

Code:
     
     1  102  20.4%  vi
     2  53   10.6%  ls
     3  41   8.2%   man
     4  34   6.8%   ps
     5  30   6%     fg
     6  22   4.4%   jobs
     7  14   2.8%   cd
     8  12   2.4%   rm
     9  12   2.4%   cat
    10  9    1.8%   cp
I have been busy with a shell project that involves much use of fifos the past few days, which probably skews the man and rm a little higher than normal.

I think I will add a shell to my tmux startup script to run this each time I login, just for fun.

Last edited by astrogeek; 07-28-2013 at 07:47 PM.
 
1 members found this post helpful.
Old 08-04-2013, 06:28 AM   #18
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 536
Blog Entries: 3

Rep: Reputation: 61
anthony@serenity:~/tmp$ history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
1 164 16.4% sudo
2 159 15.9% ssh
3 143 14.3% emacs
4 72 7.2% exit
5 68 6.8% cd
6 29 2.9% kill
7 25 2.5% ls
8 24 2.4% man
9 24 2.4% apt-cache
10 15 1.5% rm

The abundance of kill is due to the fact one PC at work is a P4 2.8 and Iceweasel can bring the system to a crawl, X no longer responds and I have to switch to a VT and kill it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux performance tuning commands, uptime,top,mpstat,iostat,vmstat ,free,ping,Dstat T anish2good Linux - Newbie 2 07-16-2013 02:00 PM
LXer: Learning Linux Commands: top LXer Syndicated Linux News 0 01-13-2012 05:00 AM
LXer: Top 5 most useful commands or tools for Linux administrators LXer Syndicated Linux News 0 04-06-2010 11:20 AM
What do you think are the top ten UNIX/LINUX commands marigb Linux - Newbie 24 05-17-2004 02:17 AM
poll: What do you think are Unix/Linux top ten most used commands marigb Linux - Newbie 0 05-11-2004 11:23 AM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration