每次在想查看系统是多少位的时候.总是记不清究竟用哪个命令.所以做个总结. vonzhou@de16-C6100:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise vonzhou@de16-C6100:~$ uname -a Linux de16-
Linux Time Slice 首先,.config中查看kernel configure中CONFIG_HZ值,比如100 然后,查看include/linux/sched/rt.h或者include/linux/sched.h根据版本不同,文件不同,其中有#define RR_TIMESLICE (100*HZ/1000), 也就是timeslice=10ms
当你新登录一个主机,过着管理一个主机,这时候你就需要这些命令来进行查看了: 1. w : Show who is logged on and what they are doing. w [options] user [...] 常用命令: w -h --no-header w -u --no-current w -s : Use the short format. Don't print the login time, JCPU or PCPU times. w -i, --ip-add