ITPub博客

首页 > Linux操作系统 > Linux操作系统 > uname,bootinfo,prtconf总结

uname,bootinfo,prtconf总结

原创 Linux操作系统 作者:oraclesuperman 时间:2015-07-01 09:38:49 0 删除 编辑
# uname -p
powerpc
显示系统的芯片类型
# uname -n
p630
显示节点名称
# uname -s
AIX
显示系统名称
# uname -M
IBM,7028-6C4
显示系统型号名称
# bootinfo -k
3
1 Key is in Secure position.
2 Key is in Service position.
3 Key is in Normal position.
# bootinfo -K
64
# prtconf -k
Kernel Type: 64-bit
返回当前系统运行的内核为32位还是64位
# bootinfo -t
1
返回当前启动类型
1 Disk boot
3 CD-ROM boot
4 Tape boot
5 Network boot
# bootinfo -z
1
返回机器是否支持多处理器
0 不支持
1 支持
# bootinfo -r
2097152
# prtconf -m
Memory Size: 2048 MB
# lsattr -El sys0 | grep realmem
realmem    2097152         Amount of usable physical memory in Kbytes        False
返回当前系统内存大小
# bootinfo -b
hdisk1
返回最后一次启动的设备
# bootinfo –y
64
# prtconf -c
CPU Type: 64-bit
返回机器硬件是32位还是64位
# prtconf -s
Processor Clock Speed: 1002 MHz
返回CPU主频大小

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29313086/viewspace-1718497/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: service 资源管理
请登录后发表评论 登录
全部评论

注册时间:2015-03-20

  • 博文量
    178
  • 访问量
    422846