Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs
User Name



Paging? Swapping? Which is it?

Posted 04-15-2013 at 11:52 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

It's a bit big to be called a "one-liner", but this "script" will give you a short overview of paging levels vs. swapping levels on your machine.

Set T=<seconds> to whatever timeframe you want to test for.

T=5; ( vmstat -s; sleep $T; vmstat -s ) | awk -v T="$T" -F'[(/)]' '/pages paged in/{ pgpio=pgpin; pgpin=$1 } /pages paged out/{ pgpoo=pgpon; pgpon=$1 } /pages swapped in/{ pgsio=pgsin; pgsin=$1 } /pages swapped out/{ pgsoo=pgson;
Posted in Uncategorized
Views 834 Comments 2 rocket357 is offline

How to Break CISCO Router Password:

Posted 04-15-2013 at 06:01 AM by kashifazizawan (Kashif Aziz Awan)

Kashif Aziz Awan

How to Break CISCO Router Password:
1. Connect router to pc using RJ-45 [console port] to DB-9 [Serial Port] using Hyper-Terminal client.
2. Restart router.
3. Press Ctrl+Break keys.
IT shows:
Readonly ROMMON initialized
rommon 1 >
4. confreg 0x2142
5. reset
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: No
Press RETURN to get started!...
Posted in Uncategorized
Views 754 Comments 0 kashifazizawan is offline

Et tu, Brute?

Posted 04-13-2013 at 03:40 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 04-13-2013 at 03:43 PM by rocket357

One of my other passions (aside from OpenBSD, Linux, philosophy, math, etc...) is Cichlids. Not just any Cichlid, though...Lake Malawi (Mbuna) Cichlids, in particular.

I currently have a 55 gallon aquarium housing quite a few species of Mbuna. One notable species is Melanochromis Auratus. I currently have four of them, all purchased before the color changes to distinguish the males and females. When one started to turn black and blue, I named him "Brutus". He happily...
Posted in Uncategorized
Views 16486 Comments 13 rocket357 is offline

On Bitcoinery

Posted 04-12-2013 at 07:20 PM by mintyninja41 (The Groovy Blog of MintyNinja41)

Ahh, yes. The humble Bitcoin. The futuristic digital currency that could revolutionise monetary trade. The Bitcoin, which I shall here call the BTC out of laziness, has much potential. The trade model allows for the anonymisation of trade, which is why the Tor Network is full of shady characters who prefer to use BTCs instead of physical currency. But, although it has various advantages over the normal currencies preferred by political states, BTC is still a young monetary system. Conversion...
Posted in Uncategorized
Views 490 Comments 0 mintyninja41 is offline

s/Linux, the new UNIX/Linux, the ONLY UNIX/g

Posted 04-10-2013 at 10:55 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 04-11-2013 at 12:17 PM by rocket357

Ok people...if you write code, do us all a favor:

Write **portable** code.

You are dragging innovation through the muck when you write Linux-specific crap. Please, for the love of all that is open source, keep other platforms in mind. Not only will packagers thank you, but your software will reach a wider audience (No matter how big "n" is, n+1 is still bigger than n).

Thank you.
Posted in Uncategorized
Views 470 Comments 0 rocket357 is offline


All times are GMT -5. The time now is 04:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration