原创 Solaris11性能監控--處理器

使用psrinfo命令查看處理器類型 psrinfo 命令已經過修改,不僅可以提供有關虛擬處理器的信息,還可以提供有關物理處理器的信息。添加此增強功能是爲了識別芯片多線程(CMT) 功能。新增的-p 選項可報告系統中物理處理器的總數。使用p

原创 Solaris11性能監控 - 內存

使甩vmstat命令監視虛擬內存使用情況: vmstat是Virtual Meomory Statistics(虛擬內存統計)的縮寫,可對操作系統的虛擬內存、進程、CPU活動進行監視。它是對系統的整體情況進行統計,不足之處是無法對某個進程進

原创 Korn Shell: typeset

Purpose: typeset用於設置變量屬性,如大小寫,寬度,左右對齊等都可以用typeset來控制, 當用typeset改變一個變量的屬性時,這種改變是永久的,下面以ksh爲例,演示typeset的幾種典型用法 Example:

原创 Linux Command

以 root 帳戶執行上一條命令。$ sudo !!$apt-get updateE: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission deni

原创 Bash Shell

編輯命令    Ctrl + a :移到命令行首    Ctrl + e :移到命令行尾    Ctrl + f :按字符前移(右向)    Ctrl + b :按字符後移(左向)    Alt + f :按單詞前移(右向)    Alt

原创 我的友情鏈接

51CTO博客開發xiao.e的網絡世界相濡以沫嵌入式學習資料周金根.blog劉博.blog大衛張.blog肖舸.blog王達.blog開源中國社區奇客資訊LinuxTOYUbuntuSOFT中文業界資訊站CSDN.blogChinaUni

原创 Solaris中查看硬件信息常用命令

  1、如何查看cpu的狀態?  # psrinfo -v # psrinfo -v Status of virtual processor 0 as of: 03/20/2012 17:16:26 on-line since 03

原创 28 個 Unix/Linux 的命令行神器

Refer to: http://www.oschina.net/news/30891/28-linux-tools?from=20120715

原创 10個工具讓你的 shell 腳本更強大

FYI.   http://www.oschina.net/question/28_39527

原创 Solaris中查看硬件信息常用命令

  1、如何查看cpu的狀態?  # psrinfo -v # psrinfo -v Status of virtual processor 0 as of: 03/20/2012 17:16:26 on-line since 03

原创 Solaris rsync

Solaris Command: rsync   http://www.thegeekstuff.com/2010/09/rsync-command-examples/

原创 Solaris crontab

Solaris crontab

原创 Kron Shell: Functions

Kron Shell: Functions 1. Reference to foo function foo ( ) { } 2. Var scoping ksh Var scoping as inherited#!/bin/ks

原创 Solaris screen

Solaris Command : screenName: terminal/screenSummary: GNU ScreenDescription: GNU Screen terminal multiplexerCategory: Ap

原创 Solaris Command: Jobs Console

1 我想把top命令(用於重新建立整盤索引的命令)放在後臺運行。因爲我不想眼睜睜的看着機器建立索引,我還想編會兒程序呢: #top &[1] 14368 註釋:在所要執行的命令後面加上空格,再加上&符號即可實現後臺執行。所返回的[1]表示這