Programming :: Add Percent Complete To A Make Process?

Feb 27, 2010

Most of FLOSS projects has a lot of code to compile, and a big make process. On my new PC i need a half hour to compile Inkscape, and on my old laptop i need something near to 2 hours. There is a way to put a percentage of the work done in the makefile? (Always there are a hard and dirty way... there is a good, beauty, common way?)

View 1 Replies


ADVERTISEMENT

Ubuntu :: Apt-Get Process Causes CPU To Run At 100 Percent

Mar 16, 2011

Starting this week I am finding that my computer will randomly start to run high CPU and using TOP. I find that its the apt-get process thats running it up at 100% (please note that top will show processes up to 800% i7quad with turbo-boost show as 8 cores). Whenever I catch this I do let it run for a reasonable amount of time 10-15 mins to allow for updates or whatever its trying.

However, I do end up having to kill -9 it as just don't understand why its running so hot. I realize this is a really early bump but its not intended as so, I was browsing the forums and realized I left the title as apt-get.... and would be better if I gave a more descriptive title. hense the edit. I really hope I am not breaking any forum rules here as I really am not intent on bumping so soon.

View 4 Replies View Related

General :: Process Gnome-appearance-properties Causing 100 Percent CPU Usage

Mar 18, 2011

I am running a HP dc5750 dual core computer with a 512MB Nvidia 7200/7300 graphics card my operating system is Ubuntu 10.10. Both my processors are operating at 98-104% cpu usage, it appears that gnome-appearance-properties is the culprit and the only way to return to normal is to end these processes. I have been setting up the desktop cube to my liking and the processor appears to rise up to 100% again. Would getting a 1GB graphics card correct this or is this a bug in maverick meerkat. Any advice would be appreciated. Please keep it simply as I am a Newbie to Linux and find things over-whelming at times. Also would running at 100% on both processors at indefinite periods of time harm my computer.

View 3 Replies View Related

Programming :: Make A (user Space )process Pre Emptive / In 2.6 Kernel?

Dec 10, 2008

I am writing a program which i dont want the kernel scheduler to preempt before certain time duration. I am using the system call sched_get_priority_max to set the maximum priority. However it is not producing results.

View 3 Replies View Related

Slackware :: Unable To Complete Installation Of 13.0 - Process Hangs

May 28, 2010

I am unable to complete the installation of Slack 13.0 on a new machine with Intel DH55HC motherboard and Intel Core i5 750 processor. The installation proceeds smoothly until the 3'rd CD and then hangs at the FONTCONFIG UPDATE stage. The hung process is apparently rescan-scsi-bus which reaches this stage

"Scanning host 6 channels 0 for SCSI target IDs ....
"Scanning for device 6 0 0 0...
"NEW:

It is not possible to kill this process even with "kill -9". I have to kill the parent process which is Slack setup, so the installation is incomplete. There is another recent thread on this issue [URL] but it did not resolve my problem. How to correct or bypass this difficulty (maybe another kernel? I use the default).

View 5 Replies View Related

Ubuntu :: Machine Will Come To A Complete Stop About Half Way Into The Boot Process

Aug 11, 2010

I'm having small boot issue with my present Linux box, which is presently running Ubuntu 8.04 LTS. When booting from a Live CD, Ubuntu 9.xx+ or any other linux variant I have, the machine will come to a complete stop about half way into the boot process. I think this may have something to do with the WiFi card that I have installed. Are there any suggestions that could help me remedy this problem short of removing the card itself?

View 9 Replies View Related

Ubuntu :: Unable To Complete The Boot Process Even In Recovery Mode

Sep 20, 2010

I installed ubuntu 10.04 by wubi. It works perfect until I installed and ran "startupmanager". I find that I can't enter ubuntu, even in recovery mode. The screen keeps showing "rstslog main process ended, respawning [fail]" and other text

View 4 Replies View Related

Ubuntu :: 10.04 - Any Way To Make Complete Replica Of System

Jul 24, 2010

I'm on ubuntu 10.04, and pretty new to it - over the last 2 weeks I've done probably 10+ fresh installs due to me not knowing the system, trying things. I looked for a way to back it up and found this guide - [URL]. When I use the feature as listet, it doesn't exclude the folders, and the system is "almost" the same as pre-recovery - and I'm copy/pasting. Is there a way to make a COMPLETE replica of my system, that I can launch when failed, so that - it's back to when I was "ok".. like all programs install post-copy to be gone..

View 2 Replies View Related

Programming :: Displaying Process Id In Shell Script But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash

result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];

[code]...

View 4 Replies View Related

Programming :: Difference Between Init.rc Process And Normal Process?

Mar 31, 2011

Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?

View 1 Replies View Related

Programming ::get The PID Of The Process Giving Kill Signal To A Process?

Nov 26, 2008

I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out

View 2 Replies View Related

Programming :: FTP Error - 550 Operation Not Complete

Apr 5, 2010

i am having problem with the following code(trying to updoad a file):

Code:

HINTERNET internet;
HINTERNET ftp;
internet = InternetOpen(NULL , INTERNET_OPEN_TYPE_DIRECT , NULL , NULL , 0);
ftp = InternetConnect(internet , "127.0.0.1" , INTERNET_DEFAULT_FTP_PORT , NULL , NULL , INTERNET_SERVICE_FTP , 0 , 0);

[code]...

so FtpPutFile returns the following error:

Code:

12003
200 Type set to I.
200 PORT Command successful.
550 Operation not complete

View 2 Replies View Related

Programming :: Showing Process Id But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh

Code:
#!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')

[code]...

View 14 Replies View Related

Programming :: Progress Bar Instead Of Percentage Complete For Loop

Nov 25, 2010

I've got a loop which is able to echo out how complete a process is after each loop (e.g says 25% if the loop has 4 elements and has run once through). Is there any way I can print characters, perhaps a progress bar? I was thinking of using the percentage as a count or something and using.

Code:
I got told off for including code from work here.

View 14 Replies View Related

Programming :: Get Perfect And Complete Way To Start Developing FW Application?

Jan 11, 2011

I would like to get help from experts who are experienced in the area of Linux network programming to help me to choose the proper way to create a special Firewall program.I do start reading WinSocket and tending to start BSD. I don't want to start with an API like winsock then stuck. So please, I do need a way to accomplish all features such as capturing, dropping or allowing all kinds of LAYERS as well as Intrusion detection.I am a good programmer in C++ but I am new for linux.So, what is the best Linux OS to install and start with and which is the best way to accomodate C++.

View 1 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

Programming :: Under Which Circumstances A Child Process Creates Another Child Process Using Fork

Dec 7, 2009

Consider the following code:

Code:

int main()
{
int i=0;
pid_t pid;
for(i=0;i<2;i++)

[code]....

I get the following output:

Parent: chid_pid=4356 i=0 parent's pid=4355
This is child 4356 i=0
This is child 4357 i=1

[code]....

I can observe instead of two children(as I expect) processes there are three. This is because child process 4356 creates its own child. Why all the messages of the type "This is child X i=Y" are concentrated one under another? How exactly fork works? Is affected by the fact that I have a dual-core processor?

View 3 Replies View Related

General :: Make Nano Support Auto-complete And Auto-bracket Closing?

Feb 20, 2010

Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?

View 1 Replies View Related

Programming :: Unix Programming - Single Process That Does Not Start Up Any Other Threads

Sep 28, 2010

i want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.

View 3 Replies View Related

Fedora :: What Is Process To Make Disk Boot-able?

May 5, 2010

im looking to boot a PC104+ from a linux floppy...

a) what version should i use that would fit and boot on a floppy?

b) is there any place i can still easily find that version?

c) what is the process (if any) to make the disk bootable (like msdos boot format)

d) can this boot floppy then be installed on a local drive?

i know that seems like a lot but they all kind of go hand in hand from my experience using DOS in such a way. im still out there searching but kudos to anyone who can help.

View 1 Replies View Related

OpenSUSE Install :: How To Make A Process Run At Startup

Mar 17, 2011

I am trying to make a file run at startup (e.g. runlevel 5). Here is what I done;

Copied file to /etc/init.d/rc5.d with these permissions:

-rwx------ 1 root root 274 Mar 17 08:33 noip2.sh

Contents of this file is:

Code:
#! /bin/sh
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
case "$1" in
start)
echo "Starting noip2."

[Code]....

And the file this is supposed to run is in /usr/local/bin/noip2 with the permissions as:

-rwxr-xr-x 1 root root 80431 Mar 17 08:16 noip2

However, this didn't worked for me. What can I do?

Edit: I can run shell file by invoking it with terminal. So there is no problem with the file

View 9 Replies View Related

General :: How To Profile Building Process (Make All)

Jan 28, 2011

I'm building the code on remote linux machines, and it takes very long time. Since all the filesystem is on NFS, I suspect the NFS is the bottleneck. Can I profile the build process (make all) down to system read/write calls? Or simply put, what tool do I need to find the bottleneck. Is strace gonna help?

View 1 Replies View Related

Ubuntu :: Make A Process Use Only Virtual Memory?

Oct 14, 2010

I understand that in linux virtual memory would be the same as swap and I also understand that linux only uses swap when your computer has used all your pc memory. I hope both assumption are right.Can I make a process like firefox use ONLY virtual memory/swap? No access to RAM.

View 6 Replies View Related

General :: Make A Process That Can Be Kill By All User?

Feb 24, 2010

I've three user in my machine ,and i want to make sure that the process created by the user1 can be killed by other user and vice-versa ,is there any way i can do that without using root password or sudo

View 4 Replies View Related

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies View Related

Fedora :: Yum Complete Transaction Won't Complete

Oct 15, 2009

I am running Fedora 8. Each time I run a YUM command, I get the message that there are unfinished transactions, and to run yum-complete-transaction. Upon running yum-complete-transaction, it fails with this error. How can I remove this uncompleted transaction so I can finish the last one?

View 2 Replies View Related

Fedora :: Share The Process To Make Xampp Work On F64 Bit?

Jul 22, 2009

I've just installed LAMPP on F11 I wanted to share the process to make Xampp work on linux (fedora) 64 bit.

1- Download Lampp : [URL]../en/xampp-linux.html#374
2- log as root, and unzip the archive file in "/opt" : it is installed !
3- to launch lampp : log as root (or sudo), and use "/opt/lampp/lampp start"

You should have error messages ! So do the following : - modify "/opt/lampp/lampp" : comment this part of the script [URL]..it-rhel.html):

# XAMPP is currently 32 bit only
#case `uname -m` in
# *_64)
# if /opt/lampp/bin/php -v > /dev/null 2>&1
# then
# :
# else

[Code]...

View 6 Replies View Related

Fedora :: Make Apache And Another Process Share Port 80?

Nov 11, 2009

I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .

View 11 Replies View Related

Ubuntu :: How To Make New Process Open New Terminal Window

Dec 2, 2010

when I use the fork() function in C it creates a child process but all the output and input is binded to the same terminal as the father process.my question is, how do i make the new process open a new terminal window in linux?

View 2 Replies View Related

Debian :: Build Process - Use Sudo For Make Install - Difference?

Dec 26, 2010

What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved