mirror of
https://github.com/zhengkai/orca.git
synced 2026-02-23 14:32:27 +08:00
up
This commit is contained in:
19
server/build/status.sh
Executable file
19
server/build/status.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR=$(readlink -f "$0") && DIR=$(dirname "$DIR") && cd "$DIR" || exit 1
|
||||
|
||||
. ./common.sh
|
||||
|
||||
PID=$(./get-pid.sh "$TYPE")
|
||||
|
||||
if [ -z "$PID" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
cat "/proc/${PID}/limits"
|
||||
echo
|
||||
cat "/proc/${PID}/status"
|
||||
echo
|
||||
cat "/proc/${PID}/io"
|
||||
echo
|
||||
echo "more in /proc/${PID}"
|
||||
Reference in New Issue
Block a user