Featured Posts
Mobile Cloud Computing untuk Generasi Cerdas

Mobile Cloud Computing untuk Generasi Cerdas

Teknologi  informasi berkembang sangat cepat. Arahnya memungkinkan user untuk menggunakan teknologi semakin fleksibel dan cerdas sehingga mengubah aktifitas keseharian/kebiasaan user. Diantara trend teknologi tersebut adalah keberadaan mobile device (smartphone, tablet) dan juga cloud computing.  Bukan tidak mungkin trend teknologi ke depan merupakan gabungan keduanya. Cloud Computing Dalam penggunaan resources (hardware, platform, software) Cloud computing menawarkan sesuatu yang ...

Read More >>

 DHTMLX Touch – JavaScript Framework untuk Mobile dan Touch Devices

DHTMLX Touch – JavaScript Framework untuk Mobile dan Touch Devices

DHTMLX Touch adalah JavaScript library yang menggunakan HTML5,untuk membangun aplikasi berbasis mobile. Ini bukan hanya sekumpulan widget untuk interface, melainkan sebuah framework yang lengkap, memungkinkan kita membuat web aplikasi yang cross-platform untuk mobile atau berbasis touch device. Framework ini dikatakan kompatibel dengan banyak device dan aplikasi yang dihasilkan berjalan dengan baik pada iPad, iPhone dan Android Library yang digunakan ...

Read More >>

Websecurify : Web Security Testing Environment

Websecurify : Web Security Testing Environment

Bagi yang terlibat di bidang IT security selalu membutuhkan tool untuk menganalisa dari objek IT yang dicari. Untuk web salah satunya dapat menggunakan websecurify. Websecurify merupakan tool web dan web2.0 untuk melakukan testing dan analisa terhadap suatu web. Dengan menggunakan websecurify kita dapat mengetahui vulnerabilities pada web. Vulnerability scanner dan analisa yang dilakukan mampu mendeteksi beragam ...

Read More >>

Hadits Arbain For Android

Hadits Arbain For Android

Iseng-iseng coba membuat aplikasi berbasis android. Sebelumnya melakukan search, bahwa sudah ada aplikasi al quran di android, bahkan lebih dari satu. Tapi ternyata belum ada aplikasi hadits untuk android. Akhirnya belajar secara otodidak mencoba buat aplikasi hadits di android. Memilih dengan data dari hadits arbain, berisi empatpuluh hadits. Aplikasi ini tergolong simple. Mengingat belum tahu bagaimana ...

Read More >>


Sun Solaris Command Tips

{ Posted on May 12 2010 by Achmad Fachrie }
Tags : solaris
Categories : solaris

Berikut ini beberapa command yang bisa jadi acuan di Solaris. Mencakup backup, network, memory, device dan sebagainya.

UNIX backups/Restore

Commands to take backup of /usr /var /lib directories to tape and disk using “tar”

ANS:

a) tar -cvf /dev/rmt/0 /usr /var /lib [Taking into tape ]

b) tar -cvf backup_file.tar /usr /var /lib [ Taking disk image]

Taking backup to a tape device attached to a remote system

ANS:

a) tar -cv /var /usr /lib | rsh remote_hostname dd of=/dev/rm/0 obs=128

b) ufsdump 0ucf remote_hostname:/dev/rmt/0 /file_system

Extracting / Restore the contents of a tape /tar file

ANS:

a) tar -xvf /dev/rmt/0 [ restore contents of a tar tape ]

b) tar -xvf filename.tar [ Restore contents of a tar file ]

c) ufsrestore f /dev/rmt/0 filename [Restore from ufsdump tape backup]

d) ufsrestore rf remote_hostname:/dev/rmt/0 filename [ Restore from remote host tape device ]

List contents of backup

ANS:

a) tar -tvf /dev/rmt/0 [ List contents of a tar tape ]

b) tar -tvf filename.tar [ List contents of a tar file ]

c) ufsrestore tf /dev/rmt/0 [ list contents of a tape of ufsdump]

Processes and Processor

What are the types of priority classes supported by Solaris ?

ANS:

timesharing, system and reat-time


How will you place a running process in real time class?

ANS:

priocntl -s –c RT –I uid process_id_number


How will you start a process in real time class?

ANS :

priocntl –c RT –e process_name


How will you bind a process to processor ?

Ans:

pbind –b processor_no process_id


Network

What is the pocket size used by SQL*NET Version 2 on Solaris

Ans :

Default is 2K


What is the procket size used by network layer TCP/IP in SQL*NET v2?

Ans :

Default 1K


Inter process communication (IPC) tuning

What is post wait driver ?

The post wait driver reduces the overhead incurred by the more expensive use of semaphore operation for interprocess communication.

Memory

What is the kernel parameter which controls the UNIX buffer cache on solaris ?

Ans :

bufhwm ( bufhwm is the maximum amount of physical memory, in kilobytes that can be used by I/O buffers)


While starting an oracle process , the unix system displays an erro message like “Cannot allocate more shared memory segment for the processes” If oracle person approaches you, how will you fix this problem?

ANS:

increase the value for kernel memory parameter "set semsys:seminfo_semmns" in /etc/system file. [ this is a blind way]


System configurations

How do you find out total RAM installed on your machine

Ans:

$prtconf |grep size


How do you find no. of processors installed on your sun box and processing speed?

Ans:

$psrinfo –v


How do you find out how many disks are available on your system?

Ans:

$ format (for sysadmins)

$ iostat –E (for users – count only the disks which has disk size correctly)

System Boot Options

How do you boot sun box in single user mode?

ANS:

At ok prompt type "boot -s" [ ok boot -s OR ok boot -1 OR ok boot -S ]


What are the commands to shutdown the system?

ANS:

shutdown, init , halt, reboot


Devices

What is the meaning of logical name of a disk drive format like c0t0d0s0?

ANS:

c0 - Controller number

t0 - SCSI bus target number
d0 - Disk number

s0 - Partition or slice number

List some of the main device types?
ANS:

/dev/dsk - Disk devices

/dev/rdsk - Raw or character devices
/dev/rmt - Tape devices

/dev/term - Serial line devices

/dev/pts - Pseudo terminals

List commands to display physical devices ?
ANS:

prtconf

Sysdef

Dmesg

sysinfo


source : http://www.sap-basis-abap.com/unix/sun-solaris-commands-tips.htm

Flash Banner Now - instant web ads

[ Back to Top ]