I also like the (ps -ux | grep) stuff, that helped with something else.
Thanks again!
-- Scott
On Sep 14, 2005, at 6:37 AM, Robert Jacobson wrote:
On Sep 13, 2005, at 2:33 PM, Scott Warren wrote:
How can I check to see what programs a lab full of students are
running? I know that the unix command TOP will list out the
processes but this is too much info and hard to run on a group of
20 where the output is manageable. Is there something I can run
that will just list the apps that are running for each user??
-- Scott
Applescript is your friend!
Send the following UNIX command:
osascript << EOF
tell application "Finder"
get the name of processes whose file type is "APPL"
end tell
EOF
Example output:
Bob's Computer (192.168.1.222)
loginwindow, ARDAgent, Dock, SystemUIServer, iTunesHelper,
ClassicAuxInput, Microsoft Word, Microsoft Database Daemon,
Microsoft Excel, Terminal, TextEdit, Netscape Communicatorâ„¢,
Internet Explorer, Safari, iTunes, Printer Setup Utility, firefox-
bin, ScreenSaverEngine, System Events
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591