mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-02 13:19:19 +08:00
scripts for Mac
This commit is contained in:
parent
a338731fe9
commit
e81803a53d
@ -414,9 +414,10 @@ openim::util::check_process_names() {
|
|||||||
# If there are PIDs, loop through each one
|
# If there are PIDs, loop through each one
|
||||||
for pid in "${pids[@]}"; do
|
for pid in "${pids[@]}"; do
|
||||||
echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||||
local command=$(ps -p $pid -o cmd=)
|
local command=$(ps -p $pid -o comm=)
|
||||||
|
|
||||||
|
echo "ps -p $pid -o comm="
|
||||||
|
|
||||||
echo "ps -p $pid -o cmd="
|
|
||||||
local start_time=$(ps -p $pid -o lstart=)
|
local start_time=$(ps -p $pid -o lstart=)
|
||||||
local port=$(get_port $pid)
|
local port=$(get_port $pid)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user