Its about how you think.
For me it does not matter, if you think positive or negative. But you should think about what you think. You should have the ability to analyze what you perceive. You should enjoy thinking. The world has come across a long way, no Aristotle no Plateau, even than thinking is most important.
The idea of doing things are great. But its useless if you are not analyzing by thinking. Every one can do things, that is not important, like all the animals that can do lots of tricks. But only Human being Homo Sapien can think, evaluate and analyse. May Allah let us use this power rightly.
Saturday, August 30, 2008
Lots of people are writing on whats going in the country now a days, I saw the article from Talat Hussain, and the other day I read Javed Chaudry.
I am unable to understand that what exactly every one wanted, is it always wrong. When it started every one was praising the coalition, since they want musharaf to leave. Once he is left they all start growling against PPP and ML (N). Why is that. Do not they have any foresightedness, not at all. Everybody was knowing or atleast I knew that things are not going in right direction, its not Musharaf that should be departed, it is not the right time for him.
No one can be a wrong person all of a sudden for theses journalists, they make hero in days and make the same hero zero in minutes.
Last night I was watching some stupid folks on TV, talking about that 'Its a politician duty'. Who is the politcian, is it some kind of a profession, I say no its not. Its a responsibility that comes on every ones shoulder. Moreover they used the word ambitious generals, hahhahahha. Well it is so simple to me, you vow to server the country, and the nation and the ppl of the country and than you steel from the same country and telling Army Chief that yes I have done it and you should do it as well, but he is not ambitious he is more greedy, so he tells them that since I was your subordinate but now when you have accepted every thing your self, than here is a kick in your ass and let me have all the share.
Simple, you do a mistake, you get kicked, every one do mistakes. And every one comes from the same society even Ambitious generals.
I am unable to understand that what exactly every one wanted, is it always wrong. When it started every one was praising the coalition, since they want musharaf to leave. Once he is left they all start growling against PPP and ML (N). Why is that. Do not they have any foresightedness, not at all. Everybody was knowing or atleast I knew that things are not going in right direction, its not Musharaf that should be departed, it is not the right time for him.
No one can be a wrong person all of a sudden for theses journalists, they make hero in days and make the same hero zero in minutes.
Last night I was watching some stupid folks on TV, talking about that 'Its a politician duty'. Who is the politcian, is it some kind of a profession, I say no its not. Its a responsibility that comes on every ones shoulder. Moreover they used the word ambitious generals, hahhahahha. Well it is so simple to me, you vow to server the country, and the nation and the ppl of the country and than you steel from the same country and telling Army Chief that yes I have done it and you should do it as well, but he is not ambitious he is more greedy, so he tells them that since I was your subordinate but now when you have accepted every thing your self, than here is a kick in your ass and let me have all the share.
Simple, you do a mistake, you get kicked, every one do mistakes. And every one comes from the same society even Ambitious generals.
Thursday, August 28, 2008
Living dead
Its not good morally, I am in office and I should not be writing my blog, instead I should be doing some work to justify my salary. Well thats true, but since my product is being RTMd and I have been working very hard lately so I think I can spend some time doing this while I am not doing anything official being in office.
Some times it is very hard to express one self. For me if I do not express, I feel like if I am dead. Writing diary is a very good habit. But since I am so busy now days that I rarely get time to sit n think and do analysis. Which is very important before putting any thing on paper. When I am in office I can not think of any thing of any thing else other than how to work more in order to get more pay(thats true). When I am home and I watch TV and I really start feeling that so many things are happening wrong and my sensitive mind filled up with so many aggressive and revolutionary thoughts than all of a sudden my 3 years old kid switched of the TV. He wants to play with me, irritate me as for him His Mom and Dad are every thing, his toys, his mentors, his friends.
Normally I use to get a piece of paper and a pen, I use to have a desk and I start writing peacefully. Since this is not possible so I will write electronically and in English.( with capital E)
Some times it is very hard to express one self. For me if I do not express, I feel like if I am dead. Writing diary is a very good habit. But since I am so busy now days that I rarely get time to sit n think and do analysis. Which is very important before putting any thing on paper. When I am in office I can not think of any thing of any thing else other than how to work more in order to get more pay(thats true). When I am home and I watch TV and I really start feeling that so many things are happening wrong and my sensitive mind filled up with so many aggressive and revolutionary thoughts than all of a sudden my 3 years old kid switched of the TV. He wants to play with me, irritate me as for him His Mom and Dad are every thing, his toys, his mentors, his friends.
Normally I use to get a piece of paper and a pen, I use to have a desk and I start writing peacefully. Since this is not possible so I will write electronically and in English.( with capital E)
Tuesday, August 26, 2008
What is happening
Lots of things are happening. With me, with my country and all around the globe. Its make me feel sad, that all i talk to my colleagues about the current political horizon is becoming true. Though I never said that the corrupt Zardari will become our president but I have always telling them that do not believe him and how could you give respect to person who has spent 8 years in Jail and all his cases are gone in one day.
This is ridiculous I mean nobody should believe that he is innocent, for ages he has been refusing about Surrey Palace and now he owns it. I do not know why do not he spend money for needy people, if he have a lot of it. He always talk.
We are not a nation, no we are not. We are slaves all of us, dumb, deaf. We want Musharaf to go, and we want Zardari to be president. What does it sound like?
This is ridiculous I mean nobody should believe that he is innocent, for ages he has been refusing about Surrey Palace and now he owns it. I do not know why do not he spend money for needy people, if he have a lot of it. He always talk.
We are not a nation, no we are not. We are slaves all of us, dumb, deaf. We want Musharaf to go, and we want Zardari to be president. What does it sound like?
Friday, August 22, 2008
Dream
I am not sure. But I trust Allah. For the last one week I was alone. I did not do any thing. I am not sure why I did not. I did not even thgought about life. It all felt like if I am in a pause state. Not moving.
I know things, I can analyse them. I can distinugish between right and wrong. Even than I dont do. I am not sure why.
I have felt love only once in my life. I do not want to lose it. That feeling has grown so mature. I now understand and I can distinguish.
I pray to him all the time that he give me direction and will to do. I wana do something, something for him atleast. He send me in this world, I do not want to leave it empty handed.
I know things, I can analyse them. I can distinugish between right and wrong. Even than I dont do. I am not sure why.
I have felt love only once in my life. I do not want to lose it. That feeling has grown so mature. I now understand and I can distinguish.
I pray to him all the time that he give me direction and will to do. I wana do something, something for him atleast. He send me in this world, I do not want to leave it empty handed.
Tuesday, August 19, 2008
Temptations .... worries ...and confusions...what else.
Lots going on now a days. I am running out of money, I have been rejected by google and I am not happy with what I am doing now.
Being rejected by google was good enough experience. I did not like the rejection at all, but atleast it make me realize that my standerds are not the world standerds. So got to work, and keeping finding best out of my self. I should and I will. Nevertheless it was big shock to me, firstly I was being called by them, second shock was when I cleared the first interview and the last one when they rejected me very politely after the second interview :)
I am feeling very lost, just like my country. we are going nowhere and so am I. Sometimes it becomes very hard to decide. I am not getting mature with relations. With time passing, they are getting confused for me.
I know the end, I will die. Every one will, so when I am living I should be doing something useful, and every thing I do , seems to be so useless to me. Why?
Being rejected by google was good enough experience. I did not like the rejection at all, but atleast it make me realize that my standerds are not the world standerds. So got to work, and keeping finding best out of my self. I should and I will. Nevertheless it was big shock to me, firstly I was being called by them, second shock was when I cleared the first interview and the last one when they rejected me very politely after the second interview :)
I am feeling very lost, just like my country. we are going nowhere and so am I. Sometimes it becomes very hard to decide. I am not getting mature with relations. With time passing, they are getting confused for me.
I know the end, I will die. Every one will, so when I am living I should be doing something useful, and every thing I do , seems to be so useless to me. Why?
Monday, August 11, 2008
How to kill a Zombie process
Send a child kill (20) sigchld signal to the parent process, never seems to work for me. So either do not bother to kill it or reboot your system if your running out of PIDs, which will not be the case ever.
Zombie process do not occupy any memory space, they just show there presence in process table.
Zombie process do not occupy any memory space, they just show there presence in process table.
Simplest way to enable password less ssh
Nops its not ssh-agent, it’s a very stupid tool, apparently I did not find it of any use.
Generate keys either rsa or dsa using ssh-keygen, copy the public key to remote host as ~/.ssh/authorized_keys and ~/.ssh/authorized_keys2. check the permissions, they should be read only. All set to go. SSH needs to be configured. It can use various methods of authentication, one out of them is passphrase, which I guess uses ssh-agent, other are hosts files, just like in case of rsh, and the simplest one is key exchange method
Generate keys either rsa or dsa using ssh-keygen, copy the public key to remote host as ~/.ssh/authorized_keys and ~/.ssh/authorized_keys2. check the permissions, they should be read only. All set to go. SSH needs to be configured. It can use various methods of authentication, one out of them is passphrase, which I guess uses ssh-agent, other are hosts files, just like in case of rsh, and the simplest one is key exchange method
Load average in UNIX
Some search on load average tells me that solaris kernel has some bug regarding it. Overall nobody defines load average in a simple way. Lots of complexity. What I get out it is;
Load average is CPU load + the capacity of CPU to handle jobs in a queue, if a cpu is overloaded by a job, and it is unable to entertain other requests, or the job execution is taking so much time, the load will increase, cuz other jobs will be piled up in the queue. It directly depends on number of CPU in linux, if a machine has 4 cpus; the load average will be too much when it will be over 4, means all 4 cpus are engaged
Load average is CPU load + the capacity of CPU to handle jobs in a queue, if a cpu is overloaded by a job, and it is unable to entertain other requests, or the job execution is taking so much time, the load will increase, cuz other jobs will be piled up in the queue. It directly depends on number of CPU in linux, if a machine has 4 cpus; the load average will be too much when it will be over 4, means all 4 cpus are engaged
How To remove a file or directory in UNIX with name “–f”
There are other unix ways, but the most simplest of all is to ftp that system, rename that file to some other name like delme and remove it from the shell prompt using “rm”.
How traceroute works
Traceroute works on ICMP. There is a field in IP packet header called TTL (time to live), internet uses this field as its working base. It is set to maximum, which is by default 30, every packet when passes through a gateway is incremented its TTL by 1, so when it reaches 30, the packet destroy it self. This is to avoid routing loops.
TTL DETAILS
The TTL value of an IP packet represents the maximum number of IP routers that the packet can go through before being thrown away. In current
practice you can expect each router in the Internet to decrement the TTL field by exactly one.
The TCP/IP specification states that the TTL field for TCP packets should be set to 60, but many systems use smaller values (4.3 BSD uses 30, 4.2
used 15).
The maximum possible value of this field is 255, and most Unix systems set the TTL field of ICMP ECHO_REQUEST packets to 255. This is why you will
find you can ‘‘ping’’ some hosts, but not reach them with telnet(1) or ftp(1).
In normal operation ping prints the ttl value from the packet it receives. When a remote system receives a ping packet, it can do one of three
things with the TTL field in its response:
· Not change it; this is what Berkeley Unix systems did before the 4.3BSD Tahoe release. In this case the TTL value in the received packet will be
255 minus the number of routers in the round-trip path.
· Set it to 255; this is what current Berkeley Unix systems do. In this case the TTL value in the received packet will be 255 minus the number of
routers in the path from the remote system to the pinging host.
· Set it to some other value. Some machines use the same value for ICMP packets that they use for TCP packets, for example either 30 or 60. Others may use completely wild values
TTL DETAILS
The TTL value of an IP packet represents the maximum number of IP routers that the packet can go through before being thrown away. In current
practice you can expect each router in the Internet to decrement the TTL field by exactly one.
The TCP/IP specification states that the TTL field for TCP packets should be set to 60, but many systems use smaller values (4.3 BSD uses 30, 4.2
used 15).
The maximum possible value of this field is 255, and most Unix systems set the TTL field of ICMP ECHO_REQUEST packets to 255. This is why you will
find you can ‘‘ping’’ some hosts, but not reach them with telnet(1) or ftp(1).
In normal operation ping prints the ttl value from the packet it receives. When a remote system receives a ping packet, it can do one of three
things with the TTL field in its response:
· Not change it; this is what Berkeley Unix systems did before the 4.3BSD Tahoe release. In this case the TTL value in the received packet will be
255 minus the number of routers in the round-trip path.
· Set it to 255; this is what current Berkeley Unix systems do. In this case the TTL value in the received packet will be 255 minus the number of
routers in the path from the remote system to the pinging host.
· Set it to some other value. Some machines use the same value for ICMP packets that they use for TCP packets, for example either 30 or 60. Others may use completely wild values
UNIX system call that gives inode information for a file.
STAT is the unix system call or command which gives information out of an inode;
stat tws
File: `tws'
Size: 4096 Blocks: 16 IO Block: 4096 directory
Device: 801h/2049d Inode: 1792604 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2008-08-01 22:16:56.000000000 +0500
Modify: 2008-08-01 22:16:49.000000000 +0500
Change: 2008-08-01 22:16:49.000000000 +0500
stat tws
File: `tws'
Size: 4096 Blocks: 16 IO Block: 4096 directory
Device: 801h/2049d Inode: 1792604 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2008-08-01 22:16:56.000000000 +0500
Modify: 2008-08-01 22:16:49.000000000 +0500
Change: 2008-08-01 22:16:49.000000000 +0500
Subscribe to:
Posts (Atom)