ps 保留 header
ps -ef | { head -1; grep mongo; }
参考:https://stackoverflow.com/questions/12920317/include-header-in-the-grep-result
ps -ef | { head -1; grep mongo; }
参考:https://stackoverflow.com/questions/12920317/include-header-in-the-grep-result
让时间为你证明