I am using gdb to examine a core file but the output contains only the method addresses in hex.
Is there anyway to translate these addresses to a human-readable form? :confused: (0 Replies)
I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script? (1 Reply)
I have a list of directories looking something like;
/usr/local/1/in
/usr/local/1/out
/usr/local/1/archive
/usr/local/2/in
/usr/local/2/out
/usr/local/2/archive
/usr/local/3/in
/usr/local/3/out
/usr/local/3/archive
Is there a way I can filter the out and archive directories so I... (5 Replies)
I'm working on writing a shell script that logs out whenever I have a firefox process running during certain times of the day (1 am - 8 am). I'll put it in crontab when it runs properly unless someone knows of a different and better way to do this. Here it is so far.
if ps ax | grep... (4 Replies)
hallow all i have question about awk i want indexing last key (in BOLD number)
ex: input.txt
1
252468812
52468812
1281268819
1252468812
1252468923
468812
1252468812
so output will like this
output text
1:252468812
2:52468812
4:1252468812
6:468812
7:1252468812
output get... (8 Replies)
Hi,
I am looking for an awk script which should help me to meet the following requirement:
File1 has records in following format
INF: FAILEd RECORD AB1234
INF: FAILEd RECORD PQ1145
INF: FAILEd RECORD AB3215
INF: FAILEd RECORD AB6114
............................ (2 Replies)
Hi,
I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC... (4 Replies)
I will initiate a process from Server1 and the flow is as follow
Server1 --> Web server --> Application server --> DB Server
Note all seperate unix servers.
Now I need to put a trace for that process to track the timings from each server.
Like the below trace should be there:
... (5 Replies)
Discussion started by: saraperu
5 Replies
LEARN ABOUT DEBIAN
gem2deb
GEM2DEB(1)GEM2DEB(1)NAME
gem2deb - converts Rubygems' .gem file into Debian package
SYNOPSIS
gem2deb [OPTIONS] GEMNAME (to download the gem with gem fetch)
gem2deb [OPTIONS] GEMFILE (to use a local .gem file)
DESCRIPTION
gem2deb converts the gem into a Debian source package, and then will attempt to build it. The process is made of several steps.
First, gem2deb converts the gem file to a tar.gz archive containing a metadata.yml file with the Gem specification. This is equivalent to
what gem2tgz does.
Then, gem2deb unpacks the tar.gz archive and prepares a Debian source package, guess many of the defaults from the files included in the
archive, or the Gem specification. This is equivalent to what dh-make-ruby does. gem2deb cannot determine all parameters for obvious
reasons. It is recommended to search for the "FIXME" string in the debian/ directory. The generated Debian source package uses dh_ruby to
build the package.
Finally, gem2deb tries to build the source and binary packages using dpkg-buildpackage.
OPTIONS -t, --only-tarball
Stop after creating the tar.gz archive.
-s, --only-source-dir
Stop after preparing the Debian source package directory (do not attempt to build the package).
-S, --only-debian-source
Only build a Debian source package (do not build binary packages).
-p PACKAGE, --package PACKAGE
Specify package name (default: ruby-*). Passed to dh-make-ruby. See dh-make-ruby(1).
--ruby-versions VERSIONS
Ruby versions to build the package for (default: all). Passed to dh-make-ruby. See dh-make-ruby(1).
-h, --help
Displays gem2deb usage information.
-v, --version
Displays gem2deb version information.
HOW THE .GEM -> .TGZ CONVERSION WORKS
A gem named mygem-0.1.0.gem is converted in a tarball with (approximately) the following steps:
mkdir mygem-0.1.0
cd mygem-0.1.0
tar xfm /absolute/path/to/mygem-0.1.0.gem
tar xzfm data.tar.gz
zcat metadata.gz > metadata.yml
rm -f data.tar.gz metadata.gz
cd ..
tar czf mygem-0.1.0.tar.gz mygem-0.1.0
rm -rf mygem-0.1.0
The generated tarball has the following properties:
Files
It contains all the files the gem contains.
Metadata
It contains the gem metadata ends up in a file named ``metadata.yml`` inside the mygem-0.1.0 directory.
SEE ALSO dh_ruby(1)COPYRIGHT AND AUTHORS
Copyright (c) 2011, Lucas Nussbaum <lucas@debian.org>
This program 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 3 of the License, or (at your option) any later version.
This program 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.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2012-03-06 GEM2DEB(1)