{"id":5783,"date":"2019-11-28T21:50:41","date_gmt":"2019-11-28T13:50:41","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5783"},"modified":"2019-11-28T21:50:42","modified_gmt":"2019-11-28T13:50:42","slug":"setsid","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/setsid","title":{"rendered":"setsid\u547d\u4ee4 – \u65b0\u4f1a\u8bdd\u4e2d\u8fd0\u884c\u7a0b\u5e8f"},"content":{"rendered":"\n
setsid\u547d\u4ee4\u5b50\u8fdb\u7a0b\u4ece\u7236\u8fdb\u7a0b\u7ee7\u627f\u4e86\uff1aSessionID\u3001\u8fdb\u7a0b\u7ec4ID\u548c\u6253\u5f00\u7684\u7ec8\u7aef\u3002\u5b50\u8fdb\u7a0b\u5982\u679c\u8981\u8131\u79bb\u8fd9\u4e9b\uff0c\u4ee3\u7801\u4e2d\u53ef\u901a\u8fc7\u8c03\u7528setsid\u6765\u5b9e\u73b0\u3002<\/p>\n\n\n\n
\u547d\u4ee4\u884c\u6216\u811a\u672c\u4e2d\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u547d\u4ee4setsid\u6765\u8fd0\u884c\u7a0b\u5e8f\u5b9e\u73b0\u3002setsid\u5e2e\u52a9\u4e00\u4e2a\u8fdb\u7a0b\u8131\u79bb\u4ece\u7236\u8fdb\u7a0b\u7ee7\u627f\u800c\u6765\u7684\u5df2\u6253\u5f00\u7684\u7ec8\u7aef\u3001\u96b6\u5c5e\u8fdb\u7a0b\u7ec4\u548c\u96b6\u5c5e\u7684\u4f1a\u8bdd\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>setsid [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5728\u65b0\u7684\u4f1a\u8bdd\u4e2d\u8fd0\u884c\u7a0b\u5e8f\u53ca\u547d\u4ee4\uff1a<\/p>\n\n\n\n setsid\u547d\u4ee4\u5b50\u8fdb\u7a0b\u4ece\u7236\u8fdb\u7a0b\u7ee7\u627f\u4e86\uff1aSessionID\u3001\u8fdb\u7a0b\u7ec4ID\u548c\u6253\u5f00\u7684\u7ec8\u7aef\u3002\u5b50\u8fdb\u7a0b\u5982\u679c\u8981\u8131\u79bb\u8fd9\u4e9b\uff0c\u4ee3\u7801\u4e2d […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5783"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5783"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5783\/revisions"}],"predecessor-version":[{"id":5787,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5783\/revisions\/5787"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-c<\/td> \u5c06\u63a7\u5236\u7ec8\u7aef\u8bbe\u7f6e\u4e3a\u5f53\u524d\u63a7\u5236\u7ec8\u7aef<\/td><\/tr> -f <\/td> \u603b\u662f fork <\/td><\/tr> -w <\/td> \u7b49\u5f85\u7a0b\u5e8f\u9000\u51fa\uff0c\u5e76\u4f7f\u7528\u76f8\u540c\u7684\u8fd4\u56de <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# setsid ping www.linuxprobe.com\n[root@linuxcool ~]# ps -ef |grep www.linuxprobe.com\nroot 31094 1 0 07:28 ? 00:00:00 ping www.linuxprobe.com\nroot 31102 29217 0 07:29 pts\/4 00:00:00 grep www.linuxprobe.com<\/pre>\n","protected":false},"excerpt":{"rendered":"