Mickgenie.com's Linux Blog

Mick Genie Linux Blog
  • Home
  • About

Posts Tagged ‘Kernel’

13 May 2010

iptables handy guide

iptables used to setup, maintain and inspect the tables of IP packet filter rules through Linux Kernel. You can modify or manage the rules through the command from console or SSH.

To list the IPs that is being blocked, you may run the command as below.

PLAIN TEXT
CODE:
  1. iptables -L -n

You will get the list of the IP that is being listed from the Iptables Kernel rules as command above.

To block an IP using iptables,

PLAIN TEXT
CODE:
  1. iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP

where xxx.xxx.xxx.xxx is the actual IP

To block an IP using specify port,
Read the rest of this entry »

  • Twitter
  • Facebook
  • Blogger Post
  • Delicious
  • WordPress
  • Share/Bookmark
13 May, 2010 at 7:30 by mickgenie

Tags: Access Code, allow an ip, block an ip, Dport, Drop Code, Filter Rules, Handy Guide, Ips, Iptables, Kernel, kernel blocking, Linux, Packet Filter, Tcp, Yy
Posted in New Hand | No Comments »

3 Jan 2010

Linux Top Process

When you used Linux top process to monitor your server/PC, you might want to know what meant by the Cpu(s) variable used in percentage.

Eg.

top - 16:24:04 up 80 days, 18:23,  1 user,  load average: 0.48, 0.46, 0.44
Tasks: 226 total,   2 running, 222 sleeping,   0 stopped,   2 zombie
Cpu(s):  2.2%us,  2.5%sy,  0.4%ni, 92.0%id,  3.0%wa,  0.0%hi,  0.0%si,  0.0%st

1. us -> User CPU time: The time the CPU has spent running users' processes that are not niced.
2. sy -> System CPU time: The time the CPU has spent running the kernel and its processes.
3. ni -> Nice CPU time: The time the CPU has spent running users' proccess that have been niced.
4. wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.
5. hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.
6. si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.

Original Source: http://www.seoforclients.com/hr/top/

  • Twitter
  • Facebook
  • Blogger Post
  • Delicious
  • WordPress
  • Share/Bookmark
3 January, 2010 at 16:35 by mickgenie

Tags: Amount Of Time, Cpu Time, Gt Software, Hardware Interrupts, Hardware Irq, Kernel, Linux, Niced, Original Source, Proccess, Server Pc, Servicing Software, System Cpu, Zombie
Posted in Linux | No Comments »

  • RSS RSS

    • Linux Portable Apps
    • Update Centos Linux 5.4 to Centos Linux 5.5
    • How to delete email older than 3 months from cPanel
    • Ten Linux Command that you should know
    • How to install Firefox 3.6.6. in Ubuntu
    • SQL: Select
    • Add Adblock Extension to your Browser
    • Improve your Writing Skill with After the Deadline
    • Firefox Master Password Timeout Manager
    • cPanel License Checklist
  • [Google]
  • Categories

    • Apache
    • Application
    • Blogging
    • cPanel
    • Database
    • DNS
    • FTP
    • Google
    • Linux
    • New Hand
    • Perl
    • Php
    • RoR
    • SSH
    • Time Zone
    • ubuntu
    • Wordpress
  • Archives

  • Calendar

    August 2010
    M T W T F S S
    « Jul    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • Blogroll

    • Mick Genie Blog
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Sponsored Links

    Easy AdSense by Unreal
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Mickgenie.com's Linux Blog is powered by WordPress
Theme Design by Generic Designer

Entries (RSS) and Comments (RSS)