Sponsored Content
Homework and Emergencies Homework & Coursework Questions Accessing one UNIX node from another node of the same server Post 302879706 by vipinkumarr89 on Saturday 14th of December 2013 04:09:00 AM
Old 12-14-2013
Hi,
What i understood from your question : you want to list the file on node 1, but you want to trigger it from node 2 because you don't have scheduling tool in node 1.
In this case we need to write a script on node 1(this scirpt will wait for a signal from node 1).

1> Set the crontab in node 2(where you have access to crontab, if you don't have access to crontab you can write a script to send email to node 1 ) to send an email to node 1.
2> Write a script in node 1 to check for a new email, if new email is available in node 1, execute the command (whatever you want to execute).
If you need help with script, let me know.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tree directory structure of Unix to get final node path

Hi, I want to list all the last directories from mentioned base path. for eg: If i have a base path say /base/base1/ How can i get the path till last node in tree like directory structure of unix by applying any command. so that i will get following output. ... (7 Replies)
Discussion started by: Shiv@jad
7 Replies

2. Red Hat

Node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (0 Replies)
Discussion started by: heartbreakkid
0 Replies

3. SuSE

Node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (1 Reply)
Discussion started by: heartbreakkid
1 Replies

4. Linux

Accessing node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (0 Replies)
Discussion started by: heartbreakkid
0 Replies

5. UNIX for Dummies Questions & Answers

I-node and sessions

I have a program (written by me, for educational purposes) called "analyzer". The program takes a parameter, a filename, and does some statistics on it (for example, word's number, line's number, ... ) at regular intervals. My teacher told me that if the file is edited while the "analyzer" is... (4 Replies)
Discussion started by: hurricane
4 Replies

6. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

7. HP-UX

Mount FIle systems from node-1 onto node-2

Hi, We have HP UX service guard cluster on OS 11.23. Recently 40+ LUNs presented to both nodes by SAN team but I was asked to mount them on only one node. I created required VGs/LVs, created VxFS and mounted all of them and they are working fine. Now client requested those FS on 2nd node as... (4 Replies)
Discussion started by: prvnrk
4 Replies

8. Infrastructure Monitoring

Using Node-RED and MQTT to Monitor Server and Application Stats

After setting up MQTT and testing some ESP8266 and ESP32 modules, where I noted that testing in Programming ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages, I was so impressed with MQTT that I installed MQTT on three different computers, instantly and... (2 Replies)
Discussion started by: Neo
2 Replies

9. Programming

Node-RED: Writing MQTT Messages to MySQL DB with UNIX timestamp

First, I want to thank Neo (LOL) for this post from 2018, Node.js and mysql - ER_ACCESS_DENIED_ERROR I could not get the Node-RED mysql module to work and searched Google until all my links were purple! I kept getting ER_ACCESS_DENIED_ERROR with the right credentials. Nothing on the web was... (0 Replies)
Discussion started by: Neo
0 Replies
Blt_TreeGetNode(3)					      BLT Library Procedures						Blt_TreeGetNode(3)

__________________________________________________________________________________________________________________________________________________

NAME
Blt_TreeGetNode - Finds the node from the ID. SYNOPSIS
#include <bltTree.h> Blt_TreeNode Blt_TreeGetNode(tree, number) ARGUMENTS
Blt_Tree tree (in) Tree containing the requested node. unsigned int number (in) Serial number of the requested node. _________________________________________________________________ DESCRIPTION
This procedure returns a node in a tree object based upon a give serial number. The node is searched using the serial number. The arguments are as follows: tree The tree containing the requested node. number The serial number of the requested node. RETURNS
The node represented by the given serial number is returned. If no node with that ID exists in tree then NULL is returned. EXAMPLE
The following example gets the node from a serial number. unsigned int number; Blt_TreeNode node; Blt_TreeToken token; node = Blt_TreeGetNode(token, number); if (node == NULL) { printf("no node with ID %d exists ", number); } else { printf("node found: label is %s ", Blt_TreeNodeLabel(node)); } KEYWORDS
Tcl_TreeCreateNode, Tcl_TreeDeleteNode BLT
2.4 Blt_TreeGetNode(3)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy