I'm profiling CPU usage of my server with "top" utility.
One of CPU parameters is marked as "st", now it displays "10.0%st"
What does st mean?
Do you know where can I find info what other params meanlin?
...
Hi!
I cannot make my Perl script run stable on the server.
Here is the problem.
When the script is accessed more than 5 times a second, the server freezes.
And some time later the server hangs forever.
SSH does not respond and I have to restart the server.
I'm using Apache with mod_perl.
The script is hosted on Virtual Dedicated Serv...
I'm writing an application that handles metadata for images and all kinds of animations, so I'm looking for a way to find basic info about an animation file, e.g:
length (in minutes/seconds/frames)
aspect ratio of pixels
resolution of individual frames
framerate
Right now, I let my program execute
mplayer -identify animfile.avi
an...
I was wondering if anyone knew of a simple opengl game engine for linux where the source is available to read.
I basically want to read the source to get a better idea of how things are put together without worrying about the code being cross platform or having fancy particle effects or anything.
...
I have tried:
identify -format %[exif:*] filename.jpg
Which returns nothing.
identify -verbose filename.jpg
Doesn't give me the data I want.
I am currently running:
Version: ImageMagick 6.0.7 07/25/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC
Should I be able to get this data with ...
A python script is controlling an external application on Linux, passing in input via a pipe to the external applications stdin, and reading output via a pipe from the external applications stdout.
The problem is that writes to pipes are buffered by block, and not by line, and therefore delays occur before the controlling script receiv...
what command will mount device /device/sdal to the mount point /mnt/usb with a filesystem type of ext 3 and not allow binaries executed from the device
...
I've got a memory leak somewhere, but it doesn't appear to be related to my program. I'm making this bold statement based on the fact that once my program terminates, either by normal means, seg-faulting, or aborting, the memory isn't recovered. If my program were the culprit, I would assume the MMU would recover everything, but this d...
I've got a memory leak somewhere, but it doesn't appear to be related to my program. I'm making this bold statement based on the fact that once my program terminates, either by seg-faulting, exitting, or aborting, the memory isn't recovered. If my program were the culprit, I would assume the MMU would recover everything, but this doesn...
I am trying to post a large XML file to a web address by using curl in a shell script. I am posting the data using the '-F' option in curl. Whenever I post a file larger than 1024 bytes, the file gets cut off and only sends the first 1024. I've tried changing the "Expect:" header as suggested in another solution for PHP Curl, but it d...
I apologize if this question has been asked before. I did a rather extensive search for similar questions, however all I could find were answers related to C++ or C#. I'm using GNU C.
I'm writing a daemon that needs to be able to send e-mail using SMTP. I need to be able to login to an external mail server, send the email and interpret ...
I was just wondering how could i rename a file on unix platform using a c program without using the standard rename function.any ideas?
rename a file in c
...
I have created a simple perl script.
The only thing it does is waiting for 5 seconds.
When I spawn the script on the server through mod_perl, it takes a lot of memory.
The instance takes 36 megabytes.
Why there is so much memory is allocated?
How can I minimize the memory taken from the system by the running script?
This is the output...
Where can I learn about controlling/interrogating the network interface under Linux? I'd like to get specific application upload/download speeds, and enforce a speed limit for a specific application.
I'd particularly like information that can help me write a traffic shaping application using Python.
...
I am not a master of the kernel code, but have some basic idea of its code structure. In this post we can discuss what are the good and bad things in the design of the kernel.
Update: No, this is not for homework. I would have mentioned that if that was the case.
See this: http://stackoverflow.com/questions/1548442/i-know-how-to-progra...
Hi,
I was trying to compile the linux kernel, but getting some errors.
While running the top Makefile i am getting the following errors :-
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
HOSTCC scripts/selinux/mdp/mdp
scripts/selinux/mdp/mdp.c:32:19: error: flask.h: No su...
Hi there
I've heard many times that Linus Torvalds is a genius when it comes to writing good code. I also wish to write good code and I'd like to see how the first version of Linux was written.
Does anyone know where I can find the first version of Linux? I'm looking for the first version (not 1.0) because I think it will be smaller a...
I'm writing a utility for running programs, and I need to capture unbuffered stdout and stderr from the programs. I need to:
Capture stdout and stderr to separate files.
Output needs to not be buffered (or be line buffered).
Without modifying the source of the program being run.
The problem is, when piping output to a file, the stdou...
How exactly would one go about getting an OpenGL app to run fullscreen straight from the terminal (Ubuntu Server 9.04)? I've developed an application for visual diagnostics on my server, but, I'm not totally sure the best way to get it to run in a windowless environment.
Ideally, I would run my program:
./visualdiagnostics
and have...
Hello,
Using PHP on Linux, I can just use the is_link() function to detect whether a given file is a symbolic link. However, is there a way to detect if a given file is the target of any other symbolic links?
Thanks, Brian
...