Sponsored Content
Full Discussion: Echo/kill pgrep
Top Forums UNIX for Beginners Questions & Answers Echo/kill pgrep Post 303024591 by MuntyScrunt on Thursday 11th of October 2018 05:34:09 PM
Old 10-11-2018
Cluster vs Super

Hi there.

I'm currently playing around with a small cluster of mini boards running Debian. Or Raspbian to be precise. Each node is given a datafile and renders animation frames. This is as much a cluster as it c be, I'm using one as a header, I've written some scripts and code to automate certain tasks, but every node is totally isolated save it's wifi connection to the same network.

So I'm wondering what os' there are around that could use all these nodes as one. 12x4 cores could be fun to play around with, and may possibly save time as a lot of duplicated file checking would be avoided.

If I can get this working I'm prepared to sink a bit of cash into the project and add a load more nodes. So, what do you think my options would be?

Many thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

When kill doesnt work, how to kill a process ?

Hi All, I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages. How can i terminate this daemon ? ? ? Regards, Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies

2. Programming

kill(0,-9) don't kill the process

Hi all i have simple c program , when i wish to kill the app im using kill(0,-9) , but it seams this command don't do any thing and the program. just ignore it . what im doing wrong here ? im using HP-UX ia64 Thanks (9 Replies)
Discussion started by: umen
9 Replies

3. AIX

pgrep substitute for porting a linux script to AIX 5.x

Hi, I'm trying to get this script to work on an AIX 5.3 box, I couldn't get pgrep for AIX, I also realize that ps works differently on the IBM boxes. Could anybody just give me the specifics of a work around for my problem, I'll adjust the whole script: #!/bin/bash # applabs.com #to do: #... (3 Replies)
Discussion started by: thebytegrill
3 Replies

4. Programming

pgrep returns 256

Hi Everyone, I have a strange behaviour In my c program i use this line: int retval = system("pgrep encoder"); while i expect retval to contain 0,1,2,3 i get 256. did i do something wrong? thanks, Alex (2 Replies)
Discussion started by: alex889
2 Replies

5. UNIX for Dummies Questions & Answers

PGREP Arguments

I'm trying to figure out how to use pgrep to pull the arguments of a process. Given: root 308 1 0 00:00 ? 00:00:00 /bin/sh /some/random/path/somescript.sh -flag /another/path/blahI can get the pid (308) using this command: pgrep shHowever, what if I wanted to pull by "somescript.sh"... (4 Replies)
Discussion started by: mrwatkin
4 Replies

6. HP-UX

pgrep doesn't perform full command line pattern matching

Hi! I need to get PID of some particular process and I wonder if I can use pgrep tool for this purpose. The problem is that pgrep doesn't perform pattern matching on the whole command line, even if I use -f key. Parsing output of ps command is not quite convenient... Also deamon, which PID I need... (2 Replies)
Discussion started by: Sapfeer
2 Replies

7. Shell Programming and Scripting

Kill an specific process ID using the KILL and GREP commands

Good afternoon I need to KILL a process in a single command sentence, for example: kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'` That sentence Kills the process ID corresponding to the program CAL255.4ge. However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies

8. Shell Programming and Scripting

Ssh and pgrep not working

I have setup SSH keys . Trying to grep to get PID of remote jvm's . this is what am doing ssh -q testuser1@myhost.com 'PID1=pgrep -fl testapp1|awk "{print $1}";PID2=pgrep -fl testapp2|awk "{print $1}" ' echo $PID1, $PID2 it throws error"sh: -fl: command not found" ---------- Post updated... (1 Reply)
Discussion started by: kondagadu
1 Replies

9. Shell Programming and Scripting

Pgrep for processes which are not associated with a terminal in Ubuntu

I would like to find all of the PIDs of processes which are not associated with a terminal and started by CRON. When I do the ps aux | less command, I see in the TTY field a lot of processes with ? character I would like to get those processes ID, is there a way to do that with pgrep? ... (1 Reply)
Discussion started by: ASF Studio
1 Replies

10. Shell Programming and Scripting

Pgrep not showing desired output

I am searching for a process that should be up and running. Im using the following command ps -ef | grep elasticsearch to get elastic+ 1673 1 0 Jan29 ? 05:08:56 /bin/java -Xms4g -Xmx4g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
CRM_UUID(8)							  [FIXME: manual]						       CRM_UUID(8)

NAME
crm_uuid - get a node's UUID SYNOPSIS
crm_uuid [-w|-r] DESCRIPTION
UUIDs are used to identify cluster nodes to ensure that they can always be uniquely identified. The crm_uuid command displays and modifies the UUID of the node on which it is run. When Heartbeat is first started on a node, it creates a UUID (in binary form) in /var/lib/heartbeat/hb_uuid. This file can be read and written by means of crm_uuid. Note There are very rare circumstances when crm_uuid should be used to modify the UUID file. The most common is when it is necessary to set a node's UUID to a known value when creating a new cluster. OPTIONS
--write, -w Write a UUID value to the /var/lib/heartbeat/hb_uuid file. Warning Use the -w option with care, because it creates a new UUID value for the node on which it is run. Various scripts across the cluster might still use the old value, causing the cluster to fail because the node is no longer associated with the old UUID value. Do not change the UUID unless you changed all references to it as well. --read, -r Read the UUID value and print it to stdout. SEE ALSO
/var/lib/heartbeat/hb_uuid AUTHOR
crm_uuid was written by Andrew Beekhof. [FIXME: source] 07/05/2010 CRM_UUID(8)
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy