| Sys Buddies (I.T. Folks — Helping Each Other) |
|
September 10, 2010, 01:45:15 PM
|
|||
|
|||
| Home | Help | Search | Contact | Login | Register |
|
1
on: April 01, 2010, 09:54:05 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
sync echo 3 > /proc/sys/vm/drop_caches |
||
|
2
on: February 02, 2010, 10:14:00 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
/usr/sbin/dmidecode|grep "Serial Number" |
||
|
3
on: January 25, 2010, 07:43:10 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
Use the regular Expresion (.*)\.*$ |
||
|
4
on: October 28, 2009, 10:32:44 AM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
If you are having a difficult time clearing out an old Blackberry, there is s very easy way to do it.
If you password protect it, then enter the incorrect password 10 times, it will automatically wipe all the data and reset to factory. While failing on your password attempts, it will prompt you to type "blackberry" a couple of times. I guess it wants to make sure the keyboard is working. This works like a charm. |
||
|
5
on: September 13, 2009, 05:03:53 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
Whenever I need to reset my admin password in Joomla (for some reason, it corrupts from time to time), the only solutions I see involve hacking the database entry. There is a much easier way.
In your address bar, after your domain, add /component/user/reset Example URL: http://www.mydomain.com/component/user/reset This will give you the page to reset your password. You will need to know the email address you used for that account. BAM -- You are back in ![]() |
||
|
6
on: May 03, 2009, 07:56:05 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
dmidecode |
||
|
7
on: March 21, 2009, 11:32:45 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
I have had the need to test hard drive performance in both Windows and Linux. Here is information on how you can perform hard drive performance tests in both environments.
LINUX: /sbin/hdparm -tT /dev/sda (sda should be whichever drive you actually wish to test) This measures sequential access rates. Here is an axample of output from one of my machines. /dev/sda1: Timing cached reads: 3092 MB in 2.00 seconds = 1546.54 MB/sec Timing buffered disk reads: 182 MB in 3.03 seconds = 60.05 MB/sec Here is the pertinent output from the MAN pages regarding this command: -T Perform timings of cache reads for benchmark and comparison purposes. For meaningful results, this opera- tion should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading directly from the Linux buffer cache without disk access. This measurement is essentially an indication of the throughput of the proces- sor, cache, and memory of the system under test. If the -t flag is also specified, then a correction factor based on the outcome of -T will be incorporated into the result reported for the -t operation. -t Perform timings of device reads for benchmark and comparison purposes. For meaningful results, this opera- tion should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading through the buffer cache to the disk without any prior caching of data. This measurement is an indication of how fast the drive can sustain sequential data reads under Linux, without any filesystem overhead. To ensure accurate measurements, the buffer cache is flushed during the processing of -t using the BLKFLSBUF ioctl. If the -T flag is also spec- ified, then a correction factor based on the outcome of -T will be incorporated into the result reported for the -t operation. There is also a utility called seeker, available for download at the bottom of the article at http://www.linuxinsight.com/how_fast_is_your_disk.html which will measure the speed of Random disk access. WINDOWS: There is a utility for testing hard drive performance in Windows called HD Tune. The free version, for personal use, will measure read performance and the professional version ($34.95 at the time of this writing) will measure write performance as well. It also has many other functionalities as well. I have attached a screenshot of HD Tune output. It can be downloaded from http://www.hdtune.com |
||
|
8
on: March 15, 2009, 04:56:00 PM
|
||
| Started by Dave Bauer - Last post by Dave Bauer | ||
|
I got this to work, here are the details as to how I did it...
Fiirst, you need to download AdventNet Linux Agent from http://www.linuxmonitor.com Then... On OpManager: 1) Imported AdventNet Linux Agent.MIB from LinuxAgent\mibs to opManager MIB Browser 2) Create Device Template for LinuxAgent OID .1.3.6.1.4.1 Vendor AdventNet 3) Create an SNMP v1/v2 Credential Setting named "LinuxAgent" using port 8001. Read should be "public" and write should be "private" On Linux Box: 1) Setup LinuxAgent at /usr/local/ManageEngine/LinuxAgent 2) chmod +x linuxagent 3) Execute sh /usr/local/ManageEngine/LinuxAgent/install-startup.sh (to make it run on startup) 4) Execute sh /usr/lcoal/ManageEngine/LinuxAgent/StartAgent.sh (to start now) 5) Open udp port 8001 on firewall On OpManager: 1) Add the device using LinuxAgent for SNMP Credential |
||