Ubuntu :: Test - How To Delete Thread

Jan 6, 2011

Just a test, how to delete the thread...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Delete The Smart Self-test Logs Of A Drive Using Smartmontools?

Jan 13, 2010

I was wondering if it was possible to delete the smart self-test logs of a drive using smartmontools.

View 1 Replies View Related

Programming :: How To Bind Thread To Specific Thread In Multithread Application?

Dec 25, 2010

I am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?

View 4 Replies View Related

Ubuntu Installation :: Warning - Can't Create Test File /var/lib/mysql/mosty.lower-test

Mar 15, 2010

I am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command

Code:

scripts/mysql_install_db --basedir=/home/mosty/mysql

the error is

Code:

Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test

[code]....

You can try to start the mysqld daemon with:

shell> /home/mosty/mysql/bin/mysqld --skip-grant &

and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:

shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables

View 1 Replies View Related

Fedora Servers :: Several Postfix - Test Antivirus Scan Using Eicar Test Virus ?

Apr 8, 2009

I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).

The questions are:

1) I am trying to test antivirus scan using eicar test virus

Code:

And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using

Code:

Where is my mistake?

2) Should I update clam and how I can do it?

3) Is spamassassin enabled by default in amavis (I have started daemon)?

4) Where configuration files of spamassassin is stored?

View 1 Replies View Related

General :: Execute Scen-20-test And Vbr-20-test In Ns-allinone-2.34?

Mar 26, 2011

I have created mobility of 20 nodes and vbr traffic using following attached script I executed the file as ns234 vbr.tcl I got the vbr.tr and vbr.nam but I was unable to load the graph using matlab <trgraph> I thought problem with is vbr.tcl script.

View 1 Replies View Related

Ubuntu :: Change Delete Button To Delete Instead Of Move To Trash

Apr 18, 2010

Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.

View 7 Replies View Related

Ubuntu :: Folder Wont Delete \ Whenever Try To Press Delete Noting Happens?

May 9, 2010

SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.

View 4 Replies View Related

Ubuntu :: Rsync --delete Doesn't Delete Superflous Files

Sep 25, 2010

I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:

Quote:

rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back

The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.

(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)

View 2 Replies View Related

Ubuntu :: Delete File - No Right Click Delete Option?

Feb 18, 2010

Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?

View 6 Replies View Related

Ubuntu :: Can Delete These 'un-delete-able' Files In Trash?

Nov 1, 2010

I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.

View 3 Replies View Related

Ubuntu :: When Does The POSIX Thread Start

Feb 3, 2010

i'm trying to understand the POSIX threads and i can't understand when does the thread start: does it start when i do

pthread_create()
or when i do
pthread_join()

or maybe i'm missing something. i do understand that pthread_join() causes the calling thread to wait till the called thread is finished.

View 2 Replies View Related

Ubuntu Installation :: Looking For A Grub2 Thread?

Feb 10, 2011

i know i should look more through the forum, but i've been stuck on installing ubuntu on my computer for 3 days now, reinstalling, manual grub installing and so on, but no go. but i found a good thread on my still no fully functional ubuntu computer that explained very well for a complete linux noob how to install grub2 on ubuntu via the livecd. but since i was booting from the live cd meant that i couldn't bookmark it, and very little on this forum, as far as i can see, gets sticky, makes it very hard to find.

the basic problem is, i completly reinstalled ubuntu 10.10, and the bootloader (that i now know is named grub2) could not be installed. so i've found several guides, including the wiki, but it haven't really worked. now instead of explaining all of this over again, like all of you have probably done a million times, can you just post the most informative links here, so i can pick and choose,

View 9 Replies View Related

Ubuntu :: Marking A Thread As Solved?

Apr 21, 2011

I have a few Threads that have been solved but I do not know how to add that Prefix. How do I change that on an existing thread.

View 3 Replies View Related

Ubuntu :: Mark My Thread As Solved?

May 25, 2011

My problem has been solved in another thread but I cannot figure out how to mark it as solved.
How do I do this?

View 3 Replies View Related

Ubuntu :: Can't Start New Thread In Community Cafe

Feb 1, 2011

I can't start a new thread in the community cafe because there is no 'new thread' button to be clicked.

View 2 Replies View Related

Programming :: Quickest Way To Get Thread Id

Jun 24, 2010

What is the quickest way to get the thread id(tid) of the current thread in linux? Specifically I use fedora 13. ...and I am talking about inside a C++ program.

View 2 Replies View Related

Programming :: Determine What CPU Thread Is On?

Jul 2, 2010

Is there a library/system call that will return to me what CPU core a thread of execution is running on? I've looked for a bit on the net already and also in /usr/include and couldn't find one.

getcpu() and sched_getcpu() are two that I found, but when I include the appropriate header files (linux/getcpu.h, and sys/sched.h respectively), gcc says getcpu.h doesn't exist and the linker complains it cannot find the implementation in sched.h.

I'm sure I'm doing something really stupid or overthinking...

What I am doing is running an OpenMP application and specifying a list of cpu cores to run on with GOMP_CPU_AFFINITY. I want to make sure that each core is getting the same number of threads.

**UPDATE**

It seems that this code works, but only with glibc >= 2.6, and my machine has 2.5:

Code:
#define _GNU_SOURCE
#include <stdio.h>
#include <utmpx.h>
int main( void )

[Code].....

View 3 Replies View Related

Ubuntu Servers :: How To Decrease Thread Stack Size

Feb 5, 2010

Desperate to reduce RAM usage of my tiny VPS running Ubuntu 9.04 and Apache2.2.11, here I saw that:
On Linux, each child process will use 8MB of memory by default. This is probably unnecessary. You can decrease the overall memory used by Apache by setting ThreadStackSize used by Apache by setting ThreadStackSize to 1MB in.

So I tried to give the suggestion a try. But when I append:
ThreadStackSize 1000000
in my /etc/apache2/httpd.conf <IfModule mpm_prefork_module> directive, and restarted apache, it failed with this message:
Invalid command 'ThreadStackSize', perhaps misspelled or defined by a module not included in the server configuration

So I figured out that the relevant modules are neither enabled nor available on apache2. Now I am wondering whether there is a way to decrease the ThreadStackSize without the need to compile apache from source? If not, what should I do?

View 1 Replies View Related

Ubuntu Installation :: Install Tcl With Non-thread Enabled For Some Other Software

Sep 4, 2010

I have an ubuntu 10.04 system. I have been trying to install tcl with non-thread enabled for some other software. If I install tcl from synatptic or use activetcl, then it gets installed with thread enabled option.

So I thought that I have to compile tcl from source. So i downloaded tcl8.5.8-src.tar.gz file of tcl and extracted it in a folder.I then entered the /unix folder and i ran ./configure --disable-threads and got this output:

I then did sudo make and got:

make: *** No rule to make target `/../unix/Makefile.in', needed by `Makefile'. Stop.

View 1 Replies View Related

Ubuntu Installation :: Lucid Java Woes - How To Move Thread

May 4, 2010

how to move the thread [URL]...

View 9 Replies View Related

Ubuntu Security :: New Vulnerabilities In Adobe Flash Became A Thread For Users?

Oct 30, 2010

1. May new vulnerabilities in Adobe flash became a thread for linux users? [URL]
2. By the way I would like to know if computer with linux can became a member or botnet somehow?

View 2 Replies View Related

Ubuntu Installation :: Installing Kodak 5300 Aio Printer / Thread Saying It's MIA

Feb 14, 2011

I have been trying to find out if there is a driver I can install for my Kodak 5300 aio printer, but the only thread I can find is from 2007, which basically says it's MIA.

Does anyone know if there is one now or not?

View 2 Replies View Related

Debian :: Mark A Thread As Solved?

May 5, 2011

How do you mark a thread as solved?

View 5 Replies View Related

Fedora :: Cannot View Posts To Thread ?

Nov 16, 2010

For some reason I cannot view my own postings to the thread I started here: [url]

I can only view the reply to it by jbuckley2004.

View 2 Replies View Related

OpenSUSE :: Compile QT With Thread Support

Nov 1, 2010

I am trying to install an Open GL screen saver "EulerTop-1.2" and I get the following error message when I run configure - "checking for perl /usr/bin/perl checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support!" It appears to be installed -

vance@linux-i4xo:/> rpm -q qt3
qt3-3.3.8b-93.1.x86_64

how does one enable thread support? I have looked around the web but cannot find a solution.

View 9 Replies View Related

OpenSUSE Hardware :: CDs Not Reading, Thread #2?

Jan 7, 2011

Same problem as someone else below- my optical drive will not read CDs in SuSE 11.3 (all the latest patches). CDs read fine in Windows, DVDs fine in both.This is a brand new drive, since my old one gave up the ghost last Tuesday (no longer appeared in BIOS)Drive is Samsung SH-S223L, and dmesg gives the following errors:

[ 64.952304] Buffer I/O error on device sr0, logical block 158968
[ 71.651194] sr 6:0:0:0: [sr0] Unhandled sense code
[ 71.651198] sr 6:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

[code]....

View 7 Replies View Related

Programming :: Thread Scheduling And Signalling

Mar 23, 2010

I have a program which is uses sigaction to register for a SIGIO signal (for incoming data on a fd) with an appropriate event handler. I also create a new detached thread 'B' that does some work with the received data. Normally the thread B runs properly. But when my event handler is called (because a there is new incoming data), after the event is handled, the thread B is not called immediately. There is a noticeable delay of the order of many seconds before it is scheduled again .During this delay, my program is doing nothing.

What am i doing wrong? Is there someway i can run thread B as soon as the event is handled (and assuming no other work is to be carried out)?

View 3 Replies View Related

Networking :: Use Static Thread Handlers ?

Jun 29, 2010

Can we use static thread handlers ?

View 1 Replies View Related

General :: How To Make A Runnable Thread?

Feb 11, 2011

I wrote a code .sh I want to make it a runnable thread.
Q1: How can I do that in Ununtu?

Q2: I put that file (x.sh) in the "Auto start" program.I choose start at "start up" but it open the code editor page.I want it to be run behind backgroun...Have I convert it to .exe firstly ?!

View 17 Replies View Related







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