Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
How to kill/stop Kibana process ?
Answer: netstat -pln | grep 5601
then you can get the process id and kill -9 13304
If you have installed as service following command will work
service kibana stop
kill -9 `ps aux|grep -v grep|awk '{print $2}'`
is very helpful when you find a lot of Kibana processes. But be careful that it can kill other processes that contain "kibana" in the process name.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have many nginx access log files and i want to parse these files between two dates. For example i want to parse the log files between 15/Sep/2020 until 15/Oct/2020 and i use this command:
zcat /var/log/nginx/mywebsite.access.log.*.gz | awk '$4 >= "[15/Sep/2020" && $4 < "[15/Oct/2020"'
or this command:
zcat /var/log/nginx/mywebsite.access.log.*.gz | sed -n -e '/15\/Sep\/2020/,/15\/Oct\/2020/p'
but the result is not between two dates.
Please help me for this. Thanks
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm running rsync underneath Supervisor. I normally start rsync daemon like this:
rsync --daemon --config=/home/zs6ftad/deployments/cmot_rsync_daemon/rsyncd.conf --no-detach
I'd like to make it so that any log messages get echo'd to standard output instead of being stored in the log-file. Is there an option which will make an rsync server behave this way?
You can get rsyncd to log to stdout by setting the --log-file argument to /dev/stdout
rsync --daemon --no-detach --log-file=/dev/stdout
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
im running the oracle vm box but truing the chmod 7000 on a file ,But it;s not working.Permissions a re not applying.
Need help?
try:
chmod 700 file.txt
7 - user rwx
0 - group none
0 - others none
chmod 7000 file should be setting setuid setgid and the sticky bit. (Equivalent to chmod ug+s,+t file). Are you sure you don't mean chmod 0700? This can help: http://permissions-calculator.org/symbolic/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
In unix/linux, I have a job ./a.out, which is currently running in the background over ssh as
nohup ./a.out &
And I have logged out of the original shell. I want another job ./b.out to start running only after ./a.out finishes. How to do it? The overall effect is equivalent to
./a.out && ./b.out
But I do not want to kill ./a.out.
Edit: clarify that ./a.out is running in the background using nohup. (Thanks to Marc B.)
One approach would be to see what the process ID of a.out is, with
top or ps, and have a launcher program that checks once a second to
see if that PID is still active. When it isn't, the launcher runs
b.out.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have just recently upgraded to Wheezy. Since I have updated my server will spontaneously kill networking. What logs could I look in to see if I can find the issue? I have looked in /var/log and there are no logs that look relevant that have been updated in the past few days. This server runs headless so re-enabling networking means turning the server off and on again as I can't ssh to it.
Any suggestions would be welcome.
Thanks
var/log/syslog should have something. You can run dmesg which may pick it up if it's a kernel module problem or something - to find the module name use lspci -v | grep -i ethernet and look for the module name a few lines later (it could be e1000 or something). Use the module name when grepping the dmesg output.