#perl - Wed 14 Mar 2007 between 00:45 and 01:05



thrigkill -0
dhar:D
thrigerr, kill 0, $pid
dhari dont want to kill it
or does signal 0 give me something else interesting
thrigdo you know what the 0 signal does?
dharreading now :)
actionCPAN upload: Test-WWW-Selenium-1.12 (+++++) by LUKEC
CPANupload: Test-WWW-Selenium-1.12 (+++++) by LUKEC
dharthanks thrig, that's perfect
thrigwon't work if a different user cannot signal the process, but otherwise better than many methods folks cook up
ps $zany_options $pid | wc -l being one I'm trying to eradicate at work
dharyeah Im guilty of doing that one before
or ps ax| grep $procname | grep -v grep
actionrevdiablo is fond of ps ax | grep [s]omething -- the brackets are effectively no-ops, but the grep doesn't match itself
revdiablois fond of ps ax | grep [s]omething -- the brackets are effectively no-ops, but the grep doesn't match itself
dharclever
thrigthere's also pgrep
dharman pgrep and perldoc -f pgrep turn up nothing for me
i havent seen that one
thrigonly some OS have the pgrep and pkill commands
revdiabloYeah, but pgrep is less portable and doesn't give as much info as ps
dhari guess im not lucky enough on OSX to get it
stuufps -f `pgrep blah`
revdiablostuuf: Still less portable, as dhar is aptly demonstrating =)
'course, there's not much portability when it comes to this kind of thing in general
dharyeah
i wonder how activestate handles that stuff
thrignope. Hence various modules on CPAN I've yet to touch, as I do process management with cfengine
dhar:)
thrig: do you work on clusters?
lou_calIs it possible for me to use perl to read the memory of a Win32 process and write any text data to a file?
dharlou_cal: writing a keygen?
thrignot really
I only maintain a few hundred systems across a couple of data centers
dhari c
actionCPAN upload: Tie-FlatFile-Array-0.02 by MUMIAW
CPANupload: Tie-FlatFile-Array-0.02 by MUMIAW
lou_caldhar: no, I have a poker program that will not let me automatically save what is going on in a hand until the hand is over, thus making it poitless to run odds calculations on the text
someone who has done it told me they did it with API calls, but would not tell me which programming language they used, and would not elaborate any more on it
dharyeah theres a program thats commonly used by crackers to get that stuff
the name escapes me
ice something or other

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive