Server :: Way To Show / Count How Many CPU Instruction Particular Process Using -or Uses?
Feb 5, 2010
Is there a way to show or count how many CPU instructions a particular process is using or uses?
In my work we develop a web application and I'm responsible of maintaining the web server.
The app lets you handle data online so each client that uses the web application has a folder associated to it, where his data is stored. (/var/www/html/test) for example.
The idea is to get how many CPU instructions the httpd process for that particular folder is having. Is there a way to do this?
View 10 Replies
ADVERTISEMENT
Oct 31, 2010
This has to also show the line count. I can get it to show the files but not the line count. What is the single command used to identify only the matching count of all lines within files under the /etc directory that contain the word „HOST? List only the files with matches and suppress any error messages.
View 4 Replies
View Related
Dec 15, 2009
i want to build server ; for blocking porn site and adult content through my netbook.can someone please give me instruction for building that server using netbook?
View 3 Replies
View Related
Feb 24, 2011
example:I block my desktop in gnome, what happens first? what programs run and how i can configure the behavior?If screen-saver is running, how i can run a "background" process that can count the time the session have blocked?How i can run programs when returning from screen-saver?I know that all depends on the desktop environmenl and the screen-saver used, but i want to know all the "bloodie" details behind.
View 1 Replies
View Related
Feb 24, 2010
I have the following perl/DBI script:
Quote:
#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr
[code].....
The error message is
[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr
View 2 Replies
View Related
Nov 10, 2010
Is it possible, using ps, to determine where a process is running from? I have two applications, both are identical and running in parallel directories, such as /app1/start.sh and /app2/start.sh. If I run ps -ef then I'm unable to tell the difference between the two
Using ps (or alternative), how can I tell that PID 123 belongs to app1?
View 3 Replies
View Related
Aug 17, 2011
I attached a virtual hard disk to one of my Linux boxes.
And after running creating partition on the new disk, I ran the following command:
Code:
While executing that command, it says as below and quits:
Code:
FYI,the output of fdisk is as below:
Code:
Why is this mke2fs reporting such and is not able to create file system ?
View 1 Replies
View Related
Jul 16, 2010
Is there a command to count inodes with in a directory?
I know I can see total inode usage with:
df -i
And I know I can find total number of files with:
find ./ |wc -l
But how can I find inodes? As files over 8kb (if using the default partitioning of 1 node over 2 4kb blocks) would take up more than 1 inode.
View 2 Replies
View Related
Jan 6, 2011
I have two servers running Linux 2.6.9 kernel.When i telnet to server1 , the telnet will be disconnected only after 3 login failures. While, when i telnet to server2, telnet will be disconnected after the first login failure.expect server2 to behave the same way as server1 when telnet is executed.Kindly tell me where i should tweak my servers so that i could achieve what i expect.
View 1 Replies
View Related
Aug 3, 2009
Someone at work has requested if i can find out anything on the above.Been googling around as well as i have only been using Linux for 2 months now.
basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.
I know i have to do a count statement on the sybase table from ISQL.But how can i create the action "service website stop" once the count value reaches 4000 ?
View 2 Replies
View Related
Dec 14, 2010
Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..
View 4 Replies
View Related
May 30, 2010
I burned the Slackware 13.1 DVD disk, and installed on a desktop, and it worked really great. Now, I would like to install 13.1 on my laptop, but my DVD-rom doesn't work. So is there any instruction for me to upgrade from slackware 12.1 (currently running)to slackware 13.1 directly, like what states in "Slackware 13.0 to 13.1 Upgrade HOWTO" ? Alternatively, is there any way that I can install slackware 13.1 from the ISO image file on my Windows partition? or I just following the instructions off this website, [URL]
View 1 Replies
View Related
Aug 17, 2011
my firefox has been crashing since yesterday and when i tried to run yum update it gives me error: illegal instruction (core dumped)
View 7 Replies
View Related
Dec 2, 2009
i need to limit summary working time at system. I tried use limits.conf for this. If only two lines would be thereQuote:TestUser soft cpu 10estUser hard cpu 20 So user TestUser can login at system at any time, work any time period, and when summary time of all its logins reaches 20 mins all his proceses would be killed?p.s. if i am wrong in method whith which i try set time limit for user,
View 8 Replies
View Related
Jul 28, 2011
Installed new wireless modem and router. how to connect it to my Ubuntu operating system. So far I can only find a place to enter information but don't know where to find it. It asks for "SSID"-"Mode Infrastructure"-"BSSID"- "Device Mac Address "Cloned Mac Address" and "MTU Automatic". where to find this information or if I am even in the right window to setup this new modem.
View 2 Replies
View Related
Jan 6, 2011
I'm reading "Understanding the Linux Kernel" and came upon this assembly instruction:
movl $(__KERNEL_CS << 16), %eax
I am curious as to what "<<" means/does. I tried to gooogle, but google doesn't search for "<<".
View 7 Replies
View Related
Nov 3, 2010
I am getting Illegal instruction error commands like yum:
I have centos 5.3
View 3 Replies
View Related
Jun 24, 2011
All I want to do is fade some text in and out via the opacity attribute, and change the text when it hits zero. My script changes the text on time, but ignores the formatting effects. I'm not worried at this stage about the else statement in the startFadeEffect() function. I just want the fade effect to work here the way it should.
[Code]...
View 14 Replies
View Related
Aug 30, 2010
I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.
View 2 Replies
View Related
Aug 14, 2009
Is it possible to like have SMS sent to your cellphone when the server crashes or a process on the server dies?
View 4 Replies
View Related
Jul 3, 2010
I have a server that runs on a static IP address with many hosting accounts. I am using the IspCP to manage the different sites. When a mail is sent, the headers include the box's own domain name: [URL]. Now [URL] is no longer active, so if an email from another account: [URL] sends mail, there is possibility that this mail is rejected by the receiver, if the receiver system does rDNS.
The receiving server will check the headers smtp sent from [URL] and come up as a fake, because [URL] is no longer registered. I wonder if there is a way to make the smtp headers reflect only the domain name that sent the mail. Then if joe sends mail, the server should replace[URL] with [URL]. If this is possible, then users that send mail will not get bounced because the rDNS lookup will map [URL] to the ip and the mail will be accepted.
View 2 Replies
View Related
Jul 19, 2011
Upon installing Debian, it asked me if it can use a mirror to get updated packages. I said no, yet it ignored my command and fetched packages. Why did Debian disobey me?
View 12 Replies
View Related
Dec 28, 2010
Everytime I try to run app, that requires SDL, it crashes with "Illegal instruction". Actually, someone had this problem some time ago, but there is no possibility of installing fixed packages (they are just... too old!). What can I do, except of moving back to OS X?
View 4 Replies
View Related
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Apr 3, 2010
After a recent CentOS upgrade, my PHP has gone nuts.About 50% of the time, the websites will show just fine from my web-server.Most of my sites are wordpress related; all have the same issue. Standard HTML sites load okay all the time, though.
View 12 Replies
View Related
Feb 3, 2010
How to find how many cpu's a particular process uses.
My weblogic process is running on Linux.There are 8 cpu processors.I need to find which are the processors the weblogic process is using
View 6 Replies
View Related
Jul 29, 2010
I have a laptop with Redhat 5 installed and a Windows 7 Virtual Machine. The laptop is connected to the internet but I cant access any web pages in firefox - it just comes up with Server Not Found (tried all different sites). I know the internet connection is good as if i go into my windows VM firefox works normal. Ive checked the network settings and tried setting to 'no proxy' and automatically detect but nothing seems to work. Ive uninstalled and reinstalled firefox and still get the same.
Ive tried both wired and wireless but makes no difference. Seems really weird that it works in the Windows VM but not in Redhat which its booting into.
View 1 Replies
View Related
Jun 28, 2010
As the subjects states, I cannot see my windows 7 shares from any of my *nix computers. I tend to over complicate things and I may do so here, but I want to try and be as thorough as possible in explaining the situation. I'll state w/ the basic layout of my lan code...
View 7 Replies
View Related
Mar 16, 2011
I am running squid 2.6 (as proxy server) in cent os 5. When I use the following command I see
Code:
#tail -f /var/log/squid/access.log
i can always see
TCP_MISS
TCP_REFRESH_MISS
TCP_CLIENT_MISS
which means that the client computer does not gain web pages from squid cache. If the client gain access gain then there should be
TCP_HIT,
TCP_REFRESH_HIT
TCP_REFRESH_HIT/200
but unfortunately I can not see this message There is no problem with the client side and they are happy but being a system admin it is a serious thing that why there is no chance to see TCP_REFRESH_HIT. The squid cache size is only 2GB.
View 1 Replies
View Related
Aug 2, 2010
user can not see the correct file attachment in web mail which showed "winmail.dat" but works fine after downloaded to outlook. and the email is sent from microsoft outlook in "HTML" format(not RTF format). Any one could give me a solution figure it out, because there is quite a lot of user in my company have to use web mail and got this winmail.dat problem
View 1 Replies
View Related