专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
1、查看机型:SUn的小型机的机型都在面板上写着有,如NETRA T 1125, 还有比如utra 5,utra 10等等。 2、查看cpu个数 (错误,不正确,因为sun中的top命令不能完全看到所有的cpu情况,与HP用法也不一样) #top CPU states: 99.3% idle, 0.1% user, 0.6% kernel, 0.0% iowait, 0.0% swap 表示只有一个cpu 正确方法: 用dmesg |grep cpu 便可以看到正确的 cpu个数了。 3、查看内存 #dmesg |grep mem mem = [阅读全文] [PDF]
  终端控制   ctrl+s :终止屏幕输出,如用cat命令输出时,要停一下   ctrl+q :恢复ctrl+q的输出   ctrl+c :中断当前的活动,返回命令提示符   ctrl+d :表示文件的结束或退出,如退出终端窗口   ctrl+u :擦除整个命令行   ctrl+w :擦除命令行最后一个单词   ctrl+h :擦除命令行最后一个字符   bc :计算器     #ksh 切换到k shell     命令:     # uname   SunOS   NAME     #man uname   uname - print name of c [阅读全文] [PDF]
  Debugging   truss executable   /* Trace doing of given command ( useful debugging ) */   truss -f -p <pid of a shell>   /* Using multiple windows, this can be used to trace setuid/setgid programs */   [ Back to Top ]   Arp, ethernet trouble shooting   arp -a .   /* Shows the eth [阅读全文] [PDF]
solaris下默认的ls后显示的目录或者文件等等是不带颜色的,如果要使其像下,那么需要如下步骤 一、去www.sunfreeware.comcoreutils-4.5.4-sol9-sparc-local.gz 二、以下分十步完成 1. 彩色输出是GUN版本ls命令的一个特征,所以你必须先得到这个版本,你可以在这里sunfreeware.com. 2. 使用下面的命令安装该包: root@host /var/tmp> pkgadd -d coreutils-4.5.4-sol9-sparc-local 会提示你以下的包将会被用到: 1 SMCcoreu [阅读全文] [PDF]
  1. Q: Solaris 的系统配置文件一般在什么地方?  A: 可以查看/etc/system文件,里面有一些solaris启动时默认加载的选项,包括  共享内存大小等的设置。   2. Q: 在solaris中,用户默认的Shell在什么文件中规定?  A: 可以查看/etc/passwd中,用户默认的shell在这里规定。   3. Q: 如果solaris不幸忘记了root密码,如何解决?  A: 可以有如下两种情况  1. 工作站只有root用户,无其他用户。  2. 工作站除了root用户以外,还有其他的用户     1. 如果连接了网络,我们 [阅读全文] [PDF]
  51 Q: 一个进程里最多可以打开多少文件?  A: 操作系统为每个进程维护一个所打开文件的数组,进程能够打开的文件与此数组  的大小有关.此数组的大小由两个系统变量限制: rlim_fd_max , rlim_fd_cur,  这两个变量可以用limit或ulimit 命令察看和修改,要扩大rlim_fd_max需要  root权限,rlim_fd_cur不能超过rlim_fd_max. 编程时则有库函数 getrlimit   和 setrlimit 可以使用. 另外一种改法是在 /etc/system文件中修改. 如果是  调用stdio函数打开文件, [阅读全文] [PDF]
  新手必读(solaris基础和常用知识)                   作者:boycw 转载时间:2002-12-25    101 Q: 我们有一个产品在移植到SOLARIS的过程中出现了大量难以理解的问题,请给  我们现场支援一下,非常感谢!使用Forte Develop6编译C++程序的时候出现  以下信息:   "mit/../teglobal.h", line 39: Warning (Anachronism): Attempt to redefine TRUE without using #undef.  "mit/../teglobal [阅读全文] [PDF]
  Debugging     truss executable   /* Trace doing of given command ( useful debugging ) */     truss -f -p <pid of a shell>   /* Using multiple windows, this can be used to trace setuid/setgid programs */    [ Back to Top ]   Arp, ethernet trouble shooting     arp -a .   /* Shows [阅读全文] [PDF]
  SysAdmin Commands    Debugging    truss executable  /* Trace doing of given command ( useful debugging ) */    truss -f -p   /* Using multiple windows, this can be used to trace setuid/setgid programs */    Arp, ethernet trouble shooting    arp -a .  /* Shows the ethernet address a [阅读全文] [PDF]
1 共9条 分1页