- 博客(4)
- 收藏
- 关注
原创 ubuntu下查看cpu的占有率
1.查看cpu的相关信息#查看物理CPU的个数#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l #查看逻辑CPU的个数#cat /proc/cpuinfo |grep "processor"|wc -l #查看CPU是几核#cat /proc/cpuinfo |grep "cores"|uniq
2017-09-27 12:08:53 2302
原创 cgi服务器
#pragma once#include#include#include#include#include#include#include#include#include#include#include#include#include#include#define _DEF_PAGE_ "index.html"#define _SIZE_ 1024static vo
2016-06-05 22:03:44 256
原创 Linux下基于http的小型web服务器编写
#pragma once#include#include#include#include#include#include#include#include#include#include#include#include#include#define _DEF_PAGE_ "index.html"#define _SIZE_ 1024static void printLog(const char* c
2016-06-05 13:42:36 1050
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人