Vision |
- Understanding /proc/cpuinfo
- Changing IP address
- Creating a Flash archive
- NixCraft – Linux Administration
Posted: 02 Dec 2010 02:27 AM PST Example: $ uname -r 2.6.18-8.el5 How many physical processors are there?$ grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l2 How many virtual processors are there?$ grep ^processor /proc/cpuinfo | wc -l4 Are the processors dual-core (or multi-core)?$ grep 'cpu cores' /proc/cpuinfocpu cores : 2 cpu cores : 2 cpu cores : 2 cpu cores : 2 "2" indicates the two physical processors are dual-core, resulting in 4 virtual processors. If "1" was returned, the two physical processors are single-core. If the processors are single-core, and the number of virtual processors is greater than the number of physical processors, the CPUs are using hyper-threading. Hyper-threading is supported if ht is present in the CPU flags and you are using an SMP kernel. Are the processors 64-bit?A 64-bit processor will have lm ("long mode") in the flags section of cpuinfo. A 32-bit processor will not.flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8legacy ts fid vid ttp tm stc |
Posted: 02 Dec 2010 02:02 AM PST The following steps may be used to change the IP address of a Solaris system.
|
Posted: 02 Dec 2010 01:29 AM PST 1. If the root disk is encapsulated by Veritas Volume Manager (VxVM), unencapsulate it before continuing. 2. I recommend booting to single-user mode, as you generally do not want to include NFS mounts or other file systems mounted in later run levels as part of your Flash archive. #reboot -- -s 3. Create the Flash archive. flarcreate -n name -a author -S -c archive_name eg: flarcreate -n "Solaris 9 image" -a "shiroy" /var/tmp/sol8.archive Notes: flarcreate will not determine the size of the archive beforehand when using the -S flag. Personally, I have seen flarcreate take an inordinate amount of time calculating the size of the archive.The -c flag enables archive compression via the compress command. 4. If applicable, re-encapsulate the rootdisk with the vxdiskadm command. Reboot the system for the encapsulation to take effect. |
NixCraft – Linux Administration Posted: 02 Dec 2010 01:21 AM PST Here is a great Linux Admin blog with plenty of content for the both the beginner and the advanced Linux Admin. The name of the blog is nixCraft and it has been in my RSS reader for a while, and I wanted to share with you a couple of the scripts and links that I pulled out and have used.
If you are into Linux from a support or development perspective than I encourage you to take a look at the nixCraft site as I am sure that you will find something useful. |
You are subscribed to email updates from Vision To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.