9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there a time limit ifconfig wlan0 down? I used that command to take my wireless down.
sudo ifconfig wlan0 downWhen I came back about 6 hours later it was working without me bringing my wireless back up. I am the only one that uses my computer or that knows the root password. (0 Replies)
Discussion started by: cokedude
0 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone. I am trying to submit a job on quantum espresso program on a SLURM environment (parallel computing); of course SBATCH is used. I am a UNIX dummy and not sure if my script is right but i keep getting the error: sbatch: error: Batch job submission failed: job has invalid account. The... (0 Replies)
Discussion started by: lebphys78
0 Replies
3. UNIX for Advanced & Expert Users
how can we identify the task completion time which was initiated by CRON.
we have 1000 of jobs whihc are runing from cron so it is not feasable to edit every cron entry or every script to add the respective code to find teh completion time.
Can some one please provide a inut to find the task... (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies
4. UNIX for Dummies Questions & Answers
We have an application that uses Active directory to authenticate the users. the admins of the app. were complaining because the windows domain controller they are going against is not very stable. I wrote a shell script using ldapsearch to look up a user against the domain controller their app... (2 Replies)
Discussion started by: jayjabour
2 Replies
5. Shell Programming and Scripting
Hello Folks,
I have been asked to write a test script which can be run by students. the script should have a time limit.
I have almost completed it except the bit of timing!
I've seen something like this:
on_timeout()
{
echo "$USER $score " >> theresult.txt
echo "Time out!... (2 Replies)
Discussion started by: SultanKSA
2 Replies
6. Shell Programming and Scripting
Is there anyway to get the start time and end time / status of a crontab job which was just completed? Of course, we know the start time of the crontab job since we are scheduling. But I would like to know process start and time recorded somewhere or can be fetched from a command like 'ps'. ... (3 Replies)
Discussion started by: thambi
3 Replies
7. AIX
Hello, we had a situation where an account was locked out due to too many failed login attempts. From the logs (failedlogin, etc) it appears that AIX 'remembered' the failed login attempts from the past month or so. does anyone know where this is set, or how long it will remember the number of... (2 Replies)
Discussion started by: zuessh
2 Replies
8. Shell Programming and Scripting
I have a job that runs for an unspecified amount of time. I want to run this as a cron job for a specified amount of time, say 2 hours. Once the time is up, the program should be killed in the middle of execution. How can I do this?
Thanks. (5 Replies)
Discussion started by: cooldude
5 Replies
9. UNIX for Dummies Questions & Answers
How do I limit the amount of idle time an account gets on solaris?
Thanks.
VJ (2 Replies)
Discussion started by: vancouver_joe
2 Replies
Slurm API(3) Slurmd status functions Slurm API(3)
NAME
slurm_free_slurmd_status, slurm_load_slurmd_status, slurm_print_slurmd_status - Slurmd status functions
SYNTAX
#include <slurm/slurm.h>
void slurm_free_slurmd_status (
slurmd_status_t* slurmd_status_ptr
);
int slurm_load_slurmd_status (
slurmd_status_t** slurmd_status_ptr
);
void slurm_print_slurmd_status (
FILE *out,
slurmd_status_t* slurmd_status_pptr
);
ARGUMENTS
slurmd_status_ptr
Slurmd status pointer. Created by slurm_load_slurmd_status, used in subsequent function calls, and destroyed by
slurm_free_slurmd_status.
DESCRIPTION
slurm_free_slurmd_status free slurmd state information.
slurm_load_slurmd_status issue RPC to get the status of slurmd daemon on this machine.
slurm_print_slurmd_status output the contents of slurmd status message as loaded using slurm_load_slurmd_status.
COPYING
Copyright (C) 2006-2007 The Regents of the University of California. Copyright (C) 2008 Lawrence Livermore National Security. Produced at
Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE-OCEC-09-009. All rights reserved.
This file is part of SLURM, a resource management program. For details, see <http://www.schedmd.com/slurmdocs/>.
SLURM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
SLURM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Danny Auble Oct 2008 Slurm API(3)