Skip to content

Commit 115e4d6

Browse files
committed
adapt alpine
1 parent 446811a commit 115e4d6

14 files changed

+17
-17
lines changed

get_alinode_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
export ENABLE_NODE_LOG=NO
44

get_disk_usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
IsInContainer=false
44

get_node_processes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

3-
ps -e -o pid,command | grep -E "node |iojs |PM2 " | grep -v get_node_processes | grep -v grep
3+
ps -e -o pid,args | grep -E "node |iojs |PM2 " | grep -v get_node_processes | grep -v grep

get_node_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
export ENABLE_NODE_LOG=NO
44

get_os_info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
export ENABLE_NODE_LOG=NO
44

get_processes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

3-
ps -e -o pid,command | grep "$1 " | grep -v get_processes | grep -v grep
3+
ps -e -o pid,args | grep "$1 " | grep -v get_processes | grep -v grep

get_processes_count

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

3-
ps -e -o pid,command | grep -E "$1 |$1$" | grep -vE 'grep|get_processes_count' -c
3+
ps -e -o pid,args | grep -E "$1 |$1$" | grep -vE 'grep|get_processes_count' -c

take_basic_prof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
NODE_KILL=`which node-kill`
44

take_cpu_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
NODE_KILL=`which node-kill`
44

take_gc_trace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
NODE_KILL=`which node-kill`
44

0 commit comments

Comments
 (0)