DirectoryComputersBlog Details for "My SysAd Blog"

My SysAd Blog

My SysAd Blog
My UNIX-based blog covers a collection of tips for installations, programming, scripting, configuration, SQL, maintenance, troubleshooting, and command line syntax. What exactly is UNIX? Unix stands for UNiplexed Information and Computing System--ori
Articles: 1, 2, 3, 4, 5, 6, 7

Articles

No Space Left on Device!
2009-09-18 17:26:00
About two weeks ago, my colleague and I had an issue with the /var partition on a seldom used Sun Blade 2500 workstation. Frankly speaking, I thought a simple fsck would suffice while in single user mode. Not quite. Anyway, we executed fsck on the partition and it "fixed" whatever errors reported. And while in single user mode, we wrote test files to the partition without incident. However, once we booted to init 3 run level, we still could not write to the /var partition, not even as root. That was a bit strange because df -k reported only 20% of the partition was used. hmmm...inode problem?? Then we looked through the logs and noticed a message about not having enough space on the device – in short, we ran out of inodes. Almost immediately, we suspected a problem with mail. We checked the mqueue directory and it contained almost a 1,000,000 small extraneous/useless messages from cron. We deleted most of them (after a few hours) and it resolved the issue. And yes, we got a handle...
More About: Space , Left , Device
Troubleshooting Domain Issues with My SysAd Blog - Again
2009-07-10 09:18:00
Late last night (KST), I was reviewing my free MyBlog Log stats and noticed 8 visitors had stopped by the blog. Usually, by that time, mysysad would have had several hundred visits. I surfed over to the domain and verified it was down (this blog is hosted on the blogger.com platform and it is pointing to a custom domain). However, the blog was working with the old address, http://esofthub.blogspot.comI pinged the old IP address - no answer. Then I pinged ghs.google.com, and it responded with a different IP address. I used that new address to update my A-Records with my domain registrar -- yahoo. After 20-30 minutes of propagation, the mysysad.com domain was back online.By the way, I just pinged the old address twice...no response. Update: 7 hours later - pinged again - no answerHere is another post I wrote a few months ago about a similar issue...My SysAd Blog Temporarily Reverts to its former Blogspot URL
More About: Domain , Issues , Troubleshooting
142857 is an Interesting Number
2009-06-18 12:45:00
A couple of days ago a colleague sent me this interesting number, 142857, via email. I performed a Google search on the number and I was surprised to see so many returns - 190,000. It even has its own wiki page. For additional information, here is the wiki page for this cyclic number - 142857.Below is the email.Subject: Interesting Number sRoy,I want to let you know a weird number which is 142857.Why?142857 X 1 = 142857142857 X 2 = 285714142857 X 3 = 428571142857 X 4 = 571428142857 X 5 = 714285142857 X 6 = 857142See, the answers show all same numbers with different position.142857 X 7 = 999999142 + 857 = 99914 + 28 + 57 = 99142857 X 142857 = 2040812244920408 + 122449 = 142857Interesting, huh?
Pipe Symbols are Missing from Some Posts
2009-05-30 17:52:00
You might have already noticed some of my theme formatting attempts appeared to have removed essential characters - in particular, the pipe symbols. I will try to go back and fix them when I get some time. I just want you to be aware of the inconvenience. Thanks Mr. Mendoza.Gilbert Mendoza said...Hey there. Just as an FYI, I believe your theme formatting has removed essential characters from some of your posts. For example, none of the pipe symbols separating each of the stringed commands are showing.4/25/09 1:15 PM esofthub said...You're right Gilbert Mendoza. I just check a few posts and the "|" are missing. I guess changing between themes deleted them.4/25/09 3:15 PM
More About: Missing , Posts , Symbols , Pipe
Field 'user_website' doesn't have a default value
2009-05-30 17:45:00
I received a few complaints about not being able to register an account on my phpbb forum. To confirm, I tried creating a test account.Here were the results:General ErrorSQL ERROR [ mysql4 ]Field 'user_website' doesn't have a default value [1364]An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.Please notify the board administrator or webmaster: some one @gmail.comIn my case, here was the fix. Of course, make sure you backup your database.http://www.phpbb.com/kb/article/ doesnt-have-a-default-value-errors/I ran the commands via phpmyadmin. It works fine now.
Determine Java Runtime Environment Version
2009-04-25 13:26:00
A few days ago I was asked for a quick and easy way to determine what java runtime environment version was installed via the Unix command line. The requester was trying to determine possible compatibility issues for some recently purchased applications.  Bear in mind that you may have multiple JRE environments installed on your box so consider the PATH value -- meaning you might have to specify an absolute path. e.g. /usr/some_java_version/bin/javaHere is the Unix one-liner syntax using default path% java -versionjava version "1.x.x_xx)...By the way, it is the same syntax for Windows.C:Usersmysysad> java -versionjava version "1.x.0_xx"Java (TM) SE Runtime Environment (build 1.x.0_xx-xxx)Java HotSpot(TM) Client VM (build xx.3-bxx, mixed mode, sharing)
More About: Version
Access a Tape Drive Device From a non-global Zone
2009-04-17 14:48:00
A couple days ago, I had a friend who wanted to know how to access a tape device from his Solaris 10 non-global zone.Here is an example on how to add a device to an existing non-global zone. By the way, the commands below are ran from the global zone, and you will have to reboot the non-global zone.# zoneadm listmysysad-global# zonecfg -z sysadzonecfg:sysad> add devicezonecfg:sysad:device> set match=/dev/rmt/0nzonecfg:sysad:device> endzonecfg:sysad> verifyzonecfg:sysad> commitzonecfg:sysad> exit# zoneadm -z sysad rebootAfter the reboot, you should be able to access the tape drive from the non-global zone.
More About: Drive , Global , Access , Device , Zone
Disable On-screen Keyboard on Startup
2009-03-24 14:00:00
I was playing around with a few of Vista's settings on my laptop. Unfortunately, one of those settings was the “On-Screen Keyboard .” I had the utility set to automatically start up each time I logged on; however, I did not want or need that convenience. After a few more logins, it got really annoying. It was time to unset the setting, but it took me awhile to rediscover the setting and uncheck it.At any rate, here is the path to the setting via the control panel.Control Panel=>Ease of Access Center=>Use the computer without a mouse orkeyboard=>On-screen keyboard (uncheck it and then Save)
More About: Startup
Create Tarballs Greater Than 2GB
2009-02-04 10:07:00
I was tarring a Unix-based application today when I encountered tar's 2GB file size limit. Frankly speaking, I was a bit surprised the application was greater than 2GB because it was only few hundred megabytes a few years ago. Anyway, to get around this annoying limitation, I used the -E option, but it did not work. I realized that I was using a non-standard tar binary because of redefined paths -- per site policy. I specified the absolute path for the OS-based tar command and the tar activity worked fine.Here is an example.# /usr/bin/tar -cvfpE GreaterThan2GB.tar /opt/MYAPP
More About: Create
Indentify Zone Processes via Global Zone
2009-01-29 15:24:00
I had a colleague of mine ask a question about how to identify processes that belong to a particular zone via the global zone because the global zone ?sees? everything. Recently, I attended a class and it covered the "deltas" between Solaris 10 and Solaris 8 and this question surfaced there, too.The quick answer is to use the "-Z" option, which is the uppercase form.Here is an example from the global zone.# /usr/bin/ps -efZ
More About: Global , Zone , Processes
Clean-up Dangling Dev Links - sp diff: name finddevice
2008-12-29 11:42:00
A couple weeks ago we encountered the "sp diff" message below on bootup. The message iterated about 15-20 times before continuing the final bootup sequence, which took at least twice as long as normal.A colleague of mine recalled performing some multipathing activities a few days earlier and thought there might be some dangling dev links as a result.To resolve the issue, the devfsadm command was executed in cleanup mode, -C.sp diff: name finddevice, nargs 1, nret 1,sp 0xf05d35b8 osp 0xf05d35a8sp diff: name finddevice, nargs 1, nret 1,sp 0xf05d35b8 osp 0xf05d35a8sp diff: name finddevice, nargs 1, nret 1,sp 0xf05d35b8 osp 0xf05d35a8sp diff: name finddevice, nargs 1, nret 1,sp 0xf05d35b8 osp 0xf05d35a8sp diff: name finddevice, nargs 1, nret 1,sp 0xf05d35b8 osp 0xf05d35a8...# devfsadm -C -v# init 6Update: A message from a colleague who requested not to be named.stmsboot -e will enable multipathing, the system needs to be rebooted inorder for it to take effect.When the system comes up...
More About: Links , Clean , Diff
Use Z-Shell for loop to Compact Argument List
2008-12-26 15:20:00
The other day I pinged a number of remote workstations to observe Round Trip Times (RTT) but forgot to eliminate a few series of contiguously numbered remotes that were known to be powered-off. Needless to say, the pinging effort was taking longer than it should have -- I promptly aborted the effort. Here is an example of a compact way of performing this common task using a Z-Shell for loop.# zsh# for blog in {1..5} {7..13} {15..22} {27..37}for> ping -s mysysad$blog 1024 5
More About: List , Compact , Loop
My SysAd Blog Temporarily Reverts to its Legacy Blogspot URL
2008-12-12 10:41:00
This evening I was checking my web statistics and noticed mysysad.com's traffic had plummeted. At first, I thought it had something to do with me adding a comment widget. You know the deal..."what did you change?" is a common sysad retort. But I quickly realize that was not the issue; it was a DNS issue. Here is a run of the events using the ubiquitous ping command. By the way, I have linked back to sysadseveral times because I have my very own unsolicited blog scraper.Checking Google Server (nslookup and ping)C:Usersesoft>ping ghs.google.comPinging ghs.l.google.com [209.85.171.121] with 32 bytes of data:Reply from 209.85.171.121: bytes=32 time=128ms TTL=236Reply from 209.85.171.121: bytes=32 time=155ms TTL=236Reply from 209.85.171.121: bytes=32 time=129ms TTL=236Reply from 209.85.171.121: bytes=32 time=155ms TTL=236Ping statistics for 209.85.171.121:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 128ms, Maximum = 155ms...
More About: Blog , Legacy , Blogspot
copy running-config startup-config
2008-11-29 10:19:00
We had an issue a couple weeks ago when our power failed and so did the UPS. At first, everything seem to come back online as usual but later we noticed a "network issue." We didn't think much of it because operations were only somewhat degraded. After a few more tests, we noticed that our old style Cisco ATM switch had reverted to our legacy configuration. Apparently, the new running configuaration was not saved.At any rate, here are the steps to save the running configuration for this particular IOS.Hyperterminal or Telnet into switchenablePassword goes hereconfig terminalrun your configuration commands here...and soforthcontrol+Zenablecopy running-config startup-config(save permanently)show running-configshow startup-config
More About: Running , Startup , Copy , Config
A Blogger is Copying Your Contents "ditto"
2008-11-28 18:07:00
Anonymous said...Think this guy http://*tips.blogspot.com/2008/11/ftp-usi ng-one-liner-and-perl-script.html is copying your contents "ditto"chk outhttp://*tips.blogspot.com/2008/11/ftp -using-one-liner-and-perl-script.htmlhttp ://*tips.blogspot.com/2008/11/ftp-using-s hell-script.html=======I was notified by the aforementioned My SysAd Blog commenter that another blogger was blatantly lifting content from "My SysAd Blog." I tried contacting the blogger but he or she was missing contact information on their blog. I left a comment on one of the offending posts regarding the infraction. Frankly speaking, I do not mind people using the tips or even copying them but do not copy without linking back. I appreciate the commenter who brought this to my attention. Thanks.So far, I found 13 posts that were verbatim on the blog. I left a comment on this post,unable-to-switch-user.html, andI noticed ithas since been deleted.http://*tips.blogspot.com/2008/1 0/strip-prepended-string-from-filename...
More About: Blogger , Contents
Strip a Prepended String From a Filename - Unix
2008-10-03 17:34:00
I had a process that was pre-pending by design its PID to a file name string. But unfortunately, it caused a few unexpected problems when this handling process inadvertently terminated. I had to rename the files without the defunct pre-pended PID string and then reprocess them (several thousand).Here is what I used as a quick and dirty procedure.# csh# lsprependPID_filename_etc1 prependPID_filename_etc2 prependPID_filename_etc3 prependPID_filename_etc4# foreach filename (prependPID*)? mv $filename `echo $filename | sed 's/prependPID_//'`? end# lsfilename_etc1 filename_etc2 filename_etc3 filename_etc4# zsh# lsprependPID_filename_etc1 prependPID_filename_etc2 prependPID_filename_etc3 prependPID_filename_etc4# for i in prependPID*for> mv $i `echo $i | sed 's/prependPID_//'`# lsfilename_etc1 filename_etc2 filename_etc3 filename_etc4
More About: Unix , Strip , String
IrfanView - Comprehensive Graphic Viewer for Windows
2008-09-16 15:27:00
Yesterday, we were trying to run a couple practice exams via CD to prepare for a security based certification. However, our normal players didn't support the required file format. As usual, it was time to perform a quick Internet search. After awhile, I found this one viewer, IrfanView, which supported many different file formats - to include the one I was searching for. I downloaded the viewer and then later its plugins. It worked like a champ for my particular task. Anyways, here is some information about IrfanView and its supported file formats.From Mr. Irfan Skiljan's website:What is IrfanView?IrfanView is a very fast, compact and innovative FREEWARE image viewer/converter for Windows 9x/ME/NT/2000/XP/2003/Vista.IrfanView is fast and small, with extremely low system resources requirements. It is trying to be simple for beginners and powerful for professionals.Supported file formats:AIF, ANI/CUR, ASF, AU/SND, AVI, AWD, B3D, BMP/DIB, CAD formats, CLP, DDS, Dicom/ACR, DJVU, ECW, ...
More About: Irfanview , Graphic , Viewer , Comprehensive
Mounting ISO and DD Image Files
2008-08-29 11:06:00
Occasionally, I'll download an image file and want to see what is on it, or make a few changes to it before burning it to CD.The image file (dd, iso, etc) can be mounted using the loop device. You will need to know the type of filesystem the image uses.Most Linux/Unix-based OS's have an application that will help you identify the filesystem type. Debian includes the command /lib/udev/vol_id, SUSE has the same command but in a different location (/sbin/vol_id). If you know how to get this information on a SUN box, please leave a comment for us.If you don't have a command that will tell you the filesystem type, you can guess. Most images downloaded from the Internet will be iso9660, Windows filesystems are normally ntfs, Linux are commonly ext2, and Macintosh are udf or hfs.As a last resort, you can work your way down the list of filesystem types listed in the mount man pages.After you know the filesystem type, you are ready to mount.Note: replace with the filesystem type.To mou...
More About: Image , Files
Hardware Mismatch for Fibre Channel Hard Drive
2008-08-19 16:32:00
We had a hard drive (FC) mismatch and had to rebuild the path_to_inst file and /dev/rdsk/*, /dev/dsk/* and /dev/rmt/* directories. We had two drives (but the backup drive was inoperable), so instead of booting off the backup, we had to recover via cdrom. That part was a little trickier than expected. After a little web searching, a handy disaster discovery procedure (hardware mismatch) was found on the Sun BigAdmin site.Method 1 (towards the bottom of the Sun page)Here is what was done.Boot from CDROMok boot cdrom -s# mount /dev/dsk/c1t#d#s0 /mntRename path_to_inst# mv /mnt/etc/path_to_inst /mnt/etc/path_to_inst.orgRemove all old device links# rm /mnt/dev/rdsk/c1*; rm /mnt/dev/dsk/c1*; rm /mnt/dev/rmt/*Rebuild path_to_inst and devices (this (syntax) was the part we were missing)# devfsadm -r /mnt -p /mnt/etc/path_to_inst **Note: Suspect corrupted bootblock? - reinstall it. # cd /mnt/usr/platform/`uname -i`/lib/fs/ufs # /mnt/usr/sbin/installboot bootblk /dev/rdsk/c1t#d#s0Unmount root...
More About: Hardware , Drive , Hard , Hard Drive , Channel
Unable to Switch User Error - su: no shell
2008-08-19 14:14:00
We had some users complaining about not being able to switch or substitute user, su. Here is the error message they were receiving: "su: no shell.? At first I thought the users had inadvertently locked out their accounts. But after querying nisplus and checking the file-based users, I didn?t observe any locked accounts. I tried switching to various users from root and received the same error. Then I tried switching user on a different workstation - no problem. The problem was tied to a particular box.Then we used the truss command to trace the system/lib calls. It pointed to an unexpected access/permission issue. Observed the /usr directory was set to 600. Frankly speaking, the permission problem was somewhat a surprise since it was working fine the previous day. At any rate, changed the permissions and things were back to normal.# truss su esofthub
More About: Shell , User , Switch , Error
iPod Disconnected During Recharge
2008-08-03 15:09:00
I know this topic is not Unix or sysadmin related, but I thought I'd document it for reference. This morning one of our personal home computers was inadvertently powered off while an iPod was recharging. To me, it didn't seem like a big deal. The PC was powered back up and the iPod was "reconnected" and it should be ?okay.? But after six hours or so, I was frantically informed the iPod screen was still frozen ? the "Do not disconnect" message and its related symbol were still displayed.I started wondering if I was going to have to shell out another 400 bucks, especially since I was the inadvertent power off culprit. I asked for the manual but it was MIA--no surprise there. It was time for a quick Web search.I found this little jewel on the Apple support site: ?Try resetting your iPod to solve common problems by pressing and holding the Menu and Select buttons until the Apple logo appears, about 6 to 10 seconds. You may need to repeat this step.?Whew, it worked the first time.
More About: Ipod
Citrix Users Report Login Issue on Unix Workstation
2008-07-31 15:18:00
A few days ago, one of our remote Citrix workstation users reported a login issue. Here was the error message displayed on the client interface."Your account is configured to prevent you from using this computer."To fix the issue, I confidently used the "tried and true" procedure described below. At the same time, I was ?showing? someone else how to address the issue. I was quite surprised when the procedure didn't work. The registry key values were not displaying in the right pane. The only thing showing up was the tree structure, no data. After awhile, I realized the regedt32 editor was not set to ?View->Tree and Data?; it was only set for ?View->Tree? structure. After making the trivial adjustment, we ran through the procedure without incident. Here is the procedure - Source: MS Help and SupportPart 1: Disable the Security PolicyDisable the following Group Policy setting on either the default domain or the domain controller organizational unit:Computer ConfigurationWindows S...
More About: Unix , Report , Workstation , Users
System Administrator Appreciation Day
2008-07-26 03:04:00
Today is System Administrator Appreciation Day. As SysAdminDay puts it, it is a thankless job for 364 days. You do not receive a lot of attention when things are going well. But when things do go wrong, you do, in deed, receive a lot attention - the type that spikes your stress level. You routinely get those dreaded calls between 12 am and 4 am or on your days off: "I need YOU to come in ASAP!" A lot of people will say that SysAdmins can just work from home. I wish. You can be rest assured that is not always the case or even possible (depending on the type of work).By the way, you are reading this post because some underappreciated system administrator at Blogger is taking care of the "behind the scenes" activities - Thank you Mr/Ms. SysAd @Blogger.But when it is all said and done for me, being a SysAdmin is one of the best darn occupations in the world. Frankly speaking, I really can not think of a more interesting profession.By the way, today, we lost an inspirational leader in th...
Inadvertent Use of Duplicate Group ID
2008-07-21 15:08:00
We were trying to limit the number of regular users who could use xterm or cmdtool for security reasons. A user-defined group was created and admins/non-regulars were assigned to it. Unfortunately, the admins/non-regulars were mysteriously denied xterm/cmdtool execution, which definitely was not the desired effect. Permission denied. That feedback was a bit perplexing because the admins/non-regulars were supposeably assigned to the newly created group per niscat. After a little troubleshooting, it was discovered the newly created group ID matched an existing group?s GID in a different name service database. The GID issue was corrected and xterm worked like a champ.
More About: Group
UNIX Admin Corner and the IT Island
2008-07-15 20:35:00
I thought James Dickens of UNIX Admin Corner wrote a short but interesting post a few days ago. His post was titled "Why is IT such an Island ." It was something to ponder regarding the rapidly growing IT community. Personally, I share a similar opinion with Mr. Dickens and felt it was a fair portrayal of the IT community.Here is an excerpt of his post: "Seems like everywhere I go, people in IT act like they are on an island, they don't attend user groups, Geek/Techy relationships I have with others seem to be rare, they don't visit or much less hang out on irc (.i.e. freenode) most don't follow blogs...Read more plus comments"I know sites like UNIX Forums are great places to get your tech-related questions answered or simply share your knowledge, but where are the social sites geared to the hard-core UNIX/Technical community. I think it would be beneficial if we had a mybloglog or blogcatalog type site that primarily focused on connecting techies.Presumably some would say large ...
More About: Unix
FTP Using a One-Liner and Perl Script
2008-06-30 11:29:00
A colleague of mine, Mahlon Anderson, wanted to revisit the FTP Using a Shell Script post. Here is what he had to say... Here is a creative way to put an FTP command on a single line. Why one line? The short story is I needed to do an ftp in a crontab without calling another script. Three things to note: 1) I have only tested this with Solaris 8. 2) This works in the one true shell, Bourne shell. 3) If you have a "$" in your password, it might cause you problems. echo ?quote user quote pass cd bin lcd put ? | ftp ?n Use this in a Perl script. (I didn?t have access to the CPAN FTP module) # vi myftp.pl #!/usr/bin/perl $USER = ?esoft?; $PASSWORD=?myftp125?; $REMOTE=?esoft?; $DIR=?/jpg_dir; $FILE=?esoft.jpg?; $echo = ?echo ?quote user ? . $USER. ? quote pass ? . $PASSWORD .? bin lcd ? . $DIR . ? mput $FILE ??; @status = ?$echo| ftp ?nv $REMOTE?; print @status; :wq! The FTP module is for doing FTP directly with Perl...basically system calls to the C library dire...
Show HTML Tags Within a Blogger Post
2008-06-29 10:48:00
Previously, I was having issues displaying HTML tags within a Blogger post. To get around that pesky issue, I used an underscore, e.g. ,, , etc, or generated a jpg image of the example to demonstrate the use of a particular tag. But this action made it inconvenient to simply cut and paste without the arduous task of retyping or modification. Now I am using the textarea tag and it seems to be working fine with the Blogger platform. Note: If you get the following error message when publishing/saving: "Your HTML cannot be accepted: Tag is not allowed: ", check the box to ignore. Here is an example run that is followed by the parameters used for the textarea. TopBlogLists.com - Blog Search - Blogs - Blog Directory TopBlogLists.com - Blog Search - Blogs - Blog Directory
More About: Show , Post , Tags , Html
An Enhanced and More Powerful Syslog App - syslog-ng
2008-06-25 07:23:00
We recently purchased a new network application/appliance.As part of my normal practice, I wanted to configure theappliance to duplicate its logs to our centralized syslog server.With standard syslogd, you add one line to your configurationfile (syslog.conf) and restart the daemon.But this appliance uses syslog-ng, an enhanced and morepowerful syslog application.The syslog-ng configuration file (syslog-ng.conf) includesfour main components: source, filter, destination, and log.1. source (required) - This tells syslog-ng the source of the log data. This could be a network port, streams, a file (/proc/kmsg).2. filter (optional) - If you want to throw all your log data into one file, you don't need a filter.3. destination (required) - Syslog-ng needs to know what to do with the data it reads from "source". Destination can be a file, a remote server IP, a pipe, usertty, etc.4. log (required) - This is the line that makes it all happen by bringing the above items together. This line ba...
Goosh.org - NOT an Official Google Shell
2008-06-15 05:34:00
After reviewing my statistics today, I found a couple referrals from this website, goosh.org. At first, I did not think much of its Spartan appearance (like I have room to talk). But after tinkering with it awhile, I realized it was pretty darn functional. As you can see below, it behaves similar to a UNIX shell.By the way, the author of the utility states this is NOT an official Google product! As usual, here is an example run.Goosh goosh.org 0.4.4-beta #1 Tue, 03 Jun 08 22:59:00 UTC Google/AjaxWelcome to goosh.org - the unofficial google shell.This google-interface behaves similar to a unix-shell.You type commands and the results are shown on this page.goosh is powered by google.goosh is written by Stefan Grothkopp (email address deleted)it is NOT an official google product!Your language has been set to: en (use lang to change it)Enter help or h for a list of commands.guest@goosh.org:/web>guest@goosh .org:/web> helphelpcommand aliases parameters functionweb (search,s,w) [keywords] ...
More About: Shell , Official
Configure Power Management with power.conf
2008-06-11 09:32:00
I had a few (actually more than a few) in-house complaints regarding my personal workstation?s uptime schedule. The complaints were legitimate since the box goes largely unused. With today?s ($137/barrel) spiraling energy costs, I can understand the concern. So to quell the incessant complaints, I decided to better manage its power consumption - modified the /etc/power.conf file.Here is an example.# more /etc/power.confautopm default# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behaviorautoshutdown 30 9:00 9:00 noshutdownstatefile /export/home/.CPRChanged to: After 20 minutes of non-use, shutdown.# vi /etc/power.confautopm default# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behaviorautoshutdown 20 0:00 0:00 shutdownstatefile /export/home/.CPR:wq!Let power management know of the change# /usr/sbin/pmconfig
More About: Power , Management , Configure
More articles from this author:
1, 2, 3, 4, 5, 6, 7
81063 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2009 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker