Sponsored Content
Operating Systems Linux Ubuntu Xorg is taking System Resources. Post 302438082 by fpmurphy on Sunday 18th of July 2010 10:05:32 AM
Old 07-18-2010
Quote:
Xorg process was taking most of the time 20% of CPU and Memory.How to make it normal.
What do you regard as normal?
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VI hogging system resources???

Hello all. I was on my pc last night when I noticed that my hard drive light was on and when I typed in "uptime" I recieved some crazy load averages. load average: 3.30, 3.07, 2.95. Anyway I type in "top" to see what processes are being the resource hogs and im surprised as hell to see that one... (2 Replies)
Discussion started by: ThePreacher
2 Replies

2. UNIX for Advanced & Expert Users

System Resources?

I am running a C program on a SCO box. There are multiple users on using the system resources. My problem is when using fprintfs in the program. I am writing to a log every thing I read in from a file after doing some formatting. I write out to the log with the fprintfs in groupings like 10... (3 Replies)
Discussion started by: jwolfe
3 Replies

3. Shell Programming and Scripting

Taking a system off a network on a system

say i have a system on thats on a network with access to the internet. now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables? i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies

4. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

5. AIX

Finding process taking up resources

I'm assuming that using the PS command would tell me about processes running. But how can I target a process that is taking up too many resources, and slowing down the system. Even an orphan process. (5 Replies)
Discussion started by: NycUnxer
5 Replies

6. UNIX for Advanced & Expert Users

Looking for utility to monitor system resources

Hi Community, I'm looking for a linux based utility for monitoring following system resources 1. Memory 2. CPU Usage I know there are plenty freewares which poll the data and print in form of html pages. For eg. MRTG, Novel's Linux Monitoring tools etc. But my requirement is deviated a... (1 Reply)
Discussion started by: anilgurwara
1 Replies
DB2_ESCAPE_STRING(3)							 1						      DB2_ESCAPE_STRING(3)

db2_escape_string - Used to escape certain characters

SYNOPSIS
string db2_escape_string (string $string_literal) DESCRIPTION
Prepends backslashes to special characters in the string argument. PARAMETERS
o $string_literal - The string that contains special characters that need to be modified. Characters that are prepended with a backslash are x00, , , , ', " and x1a. RETURN VALUES
Returns $string_literal with the special characters noted above prepended with backslashes. EXAMPLES
Example #1 A db2_escape_string(3) example Result of using the db2_escape_string(3) function <?php $conn = db2_connect($database, $user, $password); if ($conn) { $str[0] = "All characters: x00 , , , , ' , " , x1a ."; $str[1] = "Backslash (). Single quote ('). Double quote (")"; $str[2] = "The NULL character must be quoted as well"; $str[3] = "Intersting characters: x1a , x00 ."; $str[4] = "Nothing to quote"; $str[5] = 200676; $str[6] = ""; foreach( $str as $string ) { echo "db2_escape_string: " . db2_escape_string($string). " "; } } ?> The above example will output: db2_escape_string: All characters: , , , \ , ' , " ,  . db2_escape_string: Backslash (\). Single quote ('). Double quote (") db2_escape_string: The NULL character must be quoted as well db2_escape_string: Intersting characters:  , . db2_escape_string: Nothing to quote db2_escape_string: 200676 db2_escape_string: SEE ALSO
db2_prepare(3). PHP Documentation Group DB2_ESCAPE_STRING(3)
All times are GMT -4. The time now is 03:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy