:mad: I did this the other day but one of my support personnel removed my history so i could call it back up to remeber the exact command since i am air-headed at times. I am trying to take a 30 MEG file off the system and drop it to tape then i want to make the file go back to being 0 bytes so... (1 Reply)
I'm doing a bit of hex editing with dd and I can replace values fairly simply. However, I've run across a situation where I need to delete bytes in the file and I'm not sure how to do that. For example:
Input file has:
1234567890
Output needs to be:
123abc90
I tried this:
printf... (6 Replies)
Hi all,
Does anybody know or guide me on how to remove the first N bytes and the last N bytes from a binary file? Is there any AWK or SED or any command that I can use to achieve this?
Your help is greatly appreciated!!
Best Regards,
Naveen. (1 Reply)
While running script I am getting an error like
Few lines in data are not being processed.
After googling it I came to know that adding such line would give some memory to it
ini_set("memory_limit","64M");
my input file size is 1 GB.
Is that memory limit is based on RAM we have on... (1 Reply)
Hi,
If I want to copy a 1024 byte data stream in to the target location in 3-bytes chunk, I guess I can use the following script.
dd bs=1024 count=3 if=/src of=/dest
But, I would like to know, how to do it via a C program. I have tried this with memcpy(), that did not help. (3 Replies)
Hello guys. I really hope someone will help me with this one..
So, I have to write this script who:
- creates a file home/student/vmdisk of 10 mb
- formats that file to ext3
- mounts that partition to /mnt/partition
- creates a file /mnt/partition/data. In this file, there will... (1 Reply)
hello,
suppose, entered input is of 1-40 bytes, i need it to be converted to 40 bytes exactly.
example: if i have entered my name anywhere between 1-40 i want it to be stored with 40 bytes exactly.
enter your name:
donald duck (this is of 11 bytes)
expected is as below - display 11... (3 Replies)
is there a better way to do this:
head -c 10000k /var/dump.log | head -c 6000k
unfortunately, the "-c" option is not available on sun solaris. so i'm looking at "dd". but i dont know how to use it to achieve the same exact goal as the above head command.
this needs to work on both solaris... (5 Replies)
i have a unique scenario id like help with.
im currently running this command and it does what i want:
printf '%s\n' "${RawContent}" | awk '/## Beginning Stages ##/,/## Ending Stages ##/' | awk '!/^#.*\!|^#\!|DefaultError/'
Can this be shortened? I'm looking for something portable as... (8 Replies)
Discussion started by: SkySmart
8 Replies
LEARN ABOUT DEBIAN
celeryctl
CELERYCTL(1) General Commands Manual CELERYCTL(1)NAME
celeryinit -- Celery Management Utility
SYNOPSIS
celeryinit
DESCRIPTION
This manual page documents briefly the celeryinit command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
celeryinit is a command line utility to inspect and manage worker nodes.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-q--quiet
TODO
--conf
Celery config module name (default: celeryconfig).
--loader
Celery loaders module name (default: default).
-C--no-color
Don't colorize output.
COMMANDS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
status
List active nodes in this cluster.
result
Show the result of a task.
inspect active
Show all the tasks that are currently being executed.
inspect scheduled
Show all the tasks reserved by the worker because they have the eta or countdown argument set.
inspect reserved
Show all tasks that have been prefetched by the worker, and is currently waiting to be executed (does not include tasks with an
eta).
inspect revoked
List history of revoked tasks.
inspect registered_tasks
List registered tasks.
inspect states
Show worker statistics.
inspect enable_events
Enable events.
inspect disable_events
Disable events.
SEE ALSO
celeryd (1), celerybeat (1), celeryev (1).
AUTHOR
This manual page was written by fladi FladischerMichael@fladi.at for the Debian system (and may be used by others). Permission is granted
to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by
the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
CELERYCTL(1)