02-12-2016
Dummy Question
Where can I get UNIX?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Hi, 2 questions to get some insight. Thanks
(1) I would like to add a prefix (XX00) in each row of the line in my text file and save a newly generated file another name. How to go about it.
(2) How to insert a blank line into each row in my file. and save the file another name.... (2 Replies)
Discussion started by: merry susana
2 Replies
2. UNIX for Dummies Questions & Answers
okay so I just started this unix class and understood all the test questions but this "normal" question threy me through a loop :confused:. The question is Why are UNIX commands noninteractive and why is their output not usually preceededby header information? This question has been driving me... (2 Replies)
Discussion started by: cinnamonbear
2 Replies
3. Filesystems, Disks and Memory
Hello Everyone!
changing from Microsoft to Macintosh, I connected my hard disk (nearly full) to the apple computer, which could not recognize it. I was prompt to "initialize it", unfortunately I DECIDED YES!!, but just for 1/100 of a second: now I cannot access the hard disk at all.
Is still... (1 Reply)
Discussion started by: NETTO68
1 Replies
4. UNIX for Dummies Questions & Answers
how to make cut and awk treat "a b" as a single column rather then two separate columns "a and b"?
how to remove " symbol from "a b" so there is only a b?
Please help
Regards
Karol (14 Replies)
Discussion started by: sopel39
14 Replies
5. UNIX for Dummies Questions & Answers
Perhaps this is a very dummy question but sorry I don't know other place to do it. We just buy a new cluster of Xeon machines but there is something I don't understand and perhaps someone can help me.
The more /proc/cpuinfo produces the following output (just part of it).
processor : 0... (1 Reply)
Discussion started by: jhc
1 Replies
6. UNIX for Dummies Questions & Answers
I am trying to use 'cut' to get a line from my file. But it seems that 'cut' recongnizes TAB as default. My file uses space instead. So 'cut' doesn't work.
Anybody can tell me how to change the default from TAB to space ? Or how to transform a space-delimited file into tab-delimited file??... (2 Replies)
Discussion started by: kaixinsjtu
2 Replies
7. UNIX for Dummies Questions & Answers
I have a file which contains 6 columns.
But I only need the first 3 columns. So I need to remove the last 3 columns. I checked 'cut' but it seems not working.
So is there a command that could remove certain columns from a file? :(
Thanks a lot!! (5 Replies)
Discussion started by: kaixinsjtu
5 Replies
8. UNIX for Dummies Questions & Answers
Hi, everyone,
I have a matrix, let's say:
1 2 3 4 5 6 ...
4 5 6 7 8 9 ...
7 8 9 1 2 3 ...
3 4 5 6 7 8 ...
.........
(nxm matrix)
Is there a simple command that can take certain specific rows out of the matrix?
e.g., I want to take row 2 (4 5 6 7 8 9 ...) and row 4 (3 4 5 6 7 8... (2 Replies)
Discussion started by: kaixinsjtu
2 Replies
9. IP Networking
Hello everyone,
I have a some doubt about DNS. We have connected to 2 ISPs /ISP#1 and ISP#2/. Our web site's dns zone is located on ISP#1. If connection to ISP#1 is down clients won't find our website. ISP#1 connection went down few times this month.
So we are going to create our website's... (0 Replies)
Discussion started by: sembii
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a file which has three columns and 200 rows. I would like to print an extra column say "disco" for every 10 th row starting from 4 th row. How is that possible?
Thnx (4 Replies)
Discussion started by: Indra2011
4 Replies
LEARN ABOUT SUSE
ocf_heartbeat_dummy
OCF_HEARTBEAT_DUMMY(7) OCF resource agents OCF_HEARTBEAT_DUMMY(7)
NAME
ocf_heartbeat_Dummy - Example stateless resource agent
SYNOPSIS
Dummy [start | stop | monitor | reload | migrate_to | migrate_from | meta-data | validate-all]
DESCRIPTION
This is a Dummy Resource Agent. It does absolutely nothing except keep track of whether its running or not. Its purpose in life is for
testing and to serve as a template for RA writers. NB: Please pay attention to the timeouts specified in the actions section below. They
should be meaningful for the kind of resource the agent manages. They should be the minimum advised timeouts, but they shouldn't/cannot
cover _all_ possible resource instances. So, try to be neither overly generous nor too stingy, but moderate. The minimum timeouts should
never be below 10 seconds.
SUPPORTED PARAMETERS
state
Location to store the resource state in. (optional, string, default /var/run/resource-agents/Dummy-{OCF_RESOURCE_INSTANCE}.state)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20.
stop
Stops the resource. Suggested minimum timeout: 20.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
reload
Suggested minimum timeout: 20.
migrate_to
Executes steps necessary for migrating the resource to the node. Suggested minimum timeout: 20.
migrate_from
Executes steps necessary for migrating the resource away from the node. Suggested minimum timeout: 20.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20.
EXAMPLE
The following is an example configuration for a Dummy resource using the crm(8) shell:
primitive example_Dummy ocf:heartbeat:Dummy
meta allow-migrate="true"
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/Dummy_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_DUMMY(7)