ok basically im trying to count how many people fail a class by comparing there grade by -gt 49
i tried putting a count inside the while loop but i know you cant access a count outside a subshell. is there an easy way to count the number of failures?
I'm using Mac OSX.
And i want to make an visual application based on bash command.
But, apple script doesn't support Terminal command.
So please tell me how to turn my dream into a reality. :o
I mean purely by bash! (0 Replies)
Hello once again:
One thing that seems to be a nice feature is a progress gauge... so I can see how long an operation will take for a task to complete if it is requiring a lot of processing or the file is enormous. I have seen references to gauge operations, but I don't know anything about it or... (1 Reply)
Hi ALL
I have small script that find 777 dir now i want to count these directories,Keep in mind there are many directories.
This IS my code below.
#!/bin/bash
check=/var/www/html
find $check -type d -perm 777 | while read DIR
do
... (2 Replies)
Hello everyone!I am trying to make a mail list(a simple .txt file)in which i put certain records that match specific criteria.
Let's say that i have a(sorted by last column file)like this one:
0100567 Bla1 Lala1 100
1234567 Bla2 Lala2 80
8769029 Bla3 Lala3 70
1001007 ... (0 Replies)
First let me explain the scenario
I have tywo files as usual
file1.txt (it has n rows and 8 columns)
$1 $2 $3 $4 $5 $6 $7 $8
Code:
1234567|iufgt|iuoy|iout|white |black |red |90879
1234567|iufgt|iuoy|iout|green |pink |blue |90879... (3 Replies)
Here's the assignment. I'll bold the parts that are rough for me. Unfortunately, that's quite a bit lol. The syntax is, of course, where my issues lie, for the most part. I don't have a lot of programming experience at all :/. I'd post what I've already done, but I'm so lost I really don't know... (1 Reply)
Hi All,
I am trying to monitor CPU load of few processes, with the same name.
The output that I get from top is the following
28171 root 20 0 1089m 21m 3608 S 103 0.3 15:16.89 /opt/ppp//h264rtptranscoder.bin --videoPort=14504 --audioPort=14505
27589 root 20 0 1060m 23m... (3 Replies)
I am working with autodock vina for virtual screening and docking with cygwin. Autodock vina generates conformers for multiple ligands. I want to make the complex of these conformers with receptor. e.g. I have 100 .pdbqt files form vina output and one receptor pdbqt file. By running command-
cut... (1 Reply)
Does it possible to make some bash script automatic to be a executable when transfered to another pc...? (5 Replies)
Discussion started by: tomislav91
5 Replies
LEARN ABOUT DEBIAN
crm_failcount
PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_failcount -r resource_name command [options]
DESCRIPTION
crm_failcount - A convenience wrapper for crm_attribute
Set, update or remove the failcount for the specified resource on the named node
OPTIONS --help This text
--version
Version information
-V, --verbose
Increase debug output
-q, --quiet
Print only the value on stdout
-r, --resource-id=value
The resource to update.
Commands:
-G, --query
Query the current value of the attribute/option
-v, --update=value
Update the value of the attribute/option
-D, --delete
Delete the attribute/option
Additional Options:
-N, --node=value
Set an attribute for the named node (instead of the current one).
-l, --lifetime=value
Until when should the setting take affect. Valid values: reboot, forever
-i, --id=value
(Advanced) The ID used to identify the attribute
AUTHOR
Written by Andrew Beekhof
Pacemaker 1.1.7 April 2012 PACEMAKER(8)