LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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.

Code:
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;
...
Member
Posted in Uncategorized
Views 481 Comments 2 rocket357 is offline
Old

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!...
Member
Posted in Uncategorized
Views 422 Comments 0 kashifazizawan is offline
Old

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...
Member
Posted in Uncategorized
Views 6685 Comments 13 rocket357 is offline
Old

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...
Member
Posted in Uncategorized
Views 346 Comments 0 mintyninja41 is offline
Old

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.
Member
Posted in Uncategorized
Views 314 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement

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