Skip to content

Ruby script to search for a process and tell you how long it's been running on your system in a friendly way

License

Notifications You must be signed in to change notification settings

picandocodigo/howlong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How long

Build Status

Ruby script to search for a running process and tell you how long it's been running:

$ howlong emacs
Process /usr/bin/emacs24 has been active for 2 days, 2 hours, 12 minutes and 37 seconds
$ howlong iceweasel
Process iceweasel has been active for 13 hours, 58 minutes and 21 seconds

With IRB:

$ rake console
2.1.2 :001 > Howlong.run "emacs"
Process emacs has been active for 33 minutes and 25 seconds
 => nil
2.1.2 :002 >

About

Ruby script to search for a process and tell you how long it's been running on your system in a friendly way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages