Solaris
How to find the no of cpu, core and if its under HT technology CPU
count cpus and cores
swap memory utilization help
allocated
The total amount of swap space in bytes currently
allocated for use as backing store.
reserved
The total amount of swap space in bytes not
currently allocated, but claimed by memory mappings
for possible future use.
used
The total amount of swap space in bytes [...]
Replace word from multiple files in linux/unix using grep and perl
for single file.
perl -pi -e ’s/OLDCHAR/NEWCHAR/g’ filename.txt
For multiple files.
grep -R –files-with-matches ‘OLDCHAR’ . | sort | uniq | xargs perl -pi~ -e ’s/OLDCHAR/NEWCHAR/g’
Thanks,
Jayesh
Solaris service management
The Service Management Facility (SMF) is a core component of the new Predictive Self-Healing set of technologies introduced in Solaris 10. With SMF, system administrators can use simple command line utilities to easily identify, observe, and manage both the services provided by the system and the system itself.
A Solaris service is [...]
