Quote:
If you're stuck trying to locate the PID file you can strace the program (strace <program command> ) and see what files it opens. The output from the strace might be a bit difficult to interpret but if you grep for open in it you should find what you're looking for.
|
[akshat@akshar crclient]$ strace <crclient
usage: strace [-dffhiqrtttTvVxx] [-a column] [-e expr] ... [-o file]
[-p pid] ... [-s strsize] [-u username] [command [arg ...]]
or: strace -c [-e expr] ... [-O overhead] [-S sortby] [command [arg ...]]
-c -- count time, calls, and errors for each syscall and report summary
-f -- follow forks, -ff -- with output into separate files
-F -- attempt to follow vforks, -h -- print help message
-i -- print instruction pointer at time of syscall
-q -- suppress messages about attaching, detaching, etc.
-r -- print relative timestamp, -t -- absolute timestamp, -tt -- with usecs
-T -- print time spent in each syscall, -V -- print version
-v -- verbose mode: print unabbreviated argv, stat, termio[s], etc. args
-x -- print non-ascii strings in hex, -xx -- print all strings in hex
-a column -- alignment COLUMN for printing syscall results (default 40)
-e expr -- a qualifying expression: option=[!]all or option=[!]val1[,val2]...
options: trace, abbrev, verbose, raw, signal, read, or write
-o file -- send trace output to FILE instead of stderr
Quote:
I don't know crclient, and I don't know whether
you invoked it as root or normal user. Chances
are that it's in the programs working-directory
or somewhere in /tmp if it isn't a system-daemon.
|
Yes, i am doing it as a root. I found some of the pid- file in /var/run/ but couldn't able to find crclient pid-file. Even it is not in its working directory nor in tmp directory.
Help me i am not ablt to run internet through linux. I have to go to window to use my internet.
Quote:
go to the /proc directoryu
delete the directory of the name "1101" the pid of the process u want to kill
|
there is no such directory of this process.
Help me i am not able to run internet through linux. I have to go to window to use my internet.