CUT command
CUT command |
CUT command
Monday, December 28, 2015
4:19 PM
Cluster Name:
df -gt / | tail -n 1 | cut -c 48-55
Service name:
SID = ps -ef | grep ms.sap | grep pf | awk '{ print $(NF-1) }' | cut -c 7-9
Instance name:
INST = ps -ef | grep ms.sap | grep pf | awk '{ print $(NF-1) }' | cut -d _ -f 2
Created with Microsoft OneNote 2013.
CUT command |
CUT command
Monday, December 28, 2015
4:19 PM
Cluster Name:
df -gt / | tail -n 1 | cut -c 48-55
Service name:
SID = ps -ef | grep ms.sap | grep pf | awk '{ print $(NF-1) }' | cut -c 7-9
Instance name:
INST = ps -ef | grep ms.sap | grep pf | awk '{ print $(NF-1) }' | cut -d _ -f 2
Created with Microsoft OneNote 2016.
comments powered by Disqus