9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to calculate duration for below file in this format
SID | Date | Starttime |Date |End time
1607 |2019-04-05|13:06:42|2019-04-05|13:07:12
2327 |2019-04-05|13:57:26|2019-04-05|13:57:43
O/p should be like this:
SID | Date | Starttime |Date |Endtime... (4 Replies)
Discussion started by: anupmishra
4 Replies
2. Red Hat
I wanted to know which should be the best way to sync time for a linux machine. We have an application server and a database server, both using RHEL 5.8 as the OS. It is important that the time on both these servers match together and also sync with a common time source. As per my knowledge, these... (11 Replies)
Discussion started by: RHCE
11 Replies
3. What is on Your Mind?
I can bet everyone has their one favorite book even though we have had read many books on UNIX or Linux. My all time favorite is "Unix Power Tools". This book always made me geeky and I loved the little tricks/tips in the book. I still do!
The next favorite would be "Prentice Hall Unix and Linux... (0 Replies)
Discussion started by: admin_xor
0 Replies
4. UNIX for Advanced & Expert Users
I was trying to experiment with SCHED_RR and SCHED_FIFO.
I tried benchmarking the SCHED_NORMAL with these two real time priorities.
What I found is strange result. SHED_RR was the slowest then comes SCHED_FIFO and SCHED_NORMAL was the fastest one.
All tests are run in same situation and... (3 Replies)
Discussion started by: kumaran_5555
3 Replies
5. UNIX for Dummies Questions & Answers
I want to install ubuntu on a seperate hard drive. I have two 500gb sata drives with XP on sata 0,0 and like to install ubuntu on the other sata 1,1.
A few questions:
Will this work?
Can I unplug the XP drive and boot up with ubuntu to 1,1?
If that works, how can I boot to... (6 Replies)
Discussion started by: dwainbar
6 Replies
6. Linux
Hi folks,
I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date?
I'm using Linux 2.6.xx Kernel.
For Example, in... (4 Replies)
Discussion started by: suryaemlinux
4 Replies
7. UNIX for Advanced & Expert Users
Before I forget, I'm running on a RedHat 5 box with the following uname -a output:
Linux gnc141c 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Now on to my question.
I'm using a tool that maps a Matlab .mat file using the Linux mmap functionality and then... (1 Reply)
Discussion started by: rusttree
1 Replies
8. Linux
We have a linux system at all locations that is not really used interactively. Well the users need to shutdown the box on weekends. to do this they usally call us to shut it down remotely with root. well i just came accross sudo. and i am unsure how to use it
i did
visudo
then i did
%mliu ... (2 Replies)
Discussion started by: deaconf19
2 Replies
9. Programming
Hi Friends,
When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this.
Thanks in advance,
Praveen. (11 Replies)
Discussion started by: chprvkmr
11 Replies
LEARN ABOUT DEBIAN
syncpackage
SYNCPACKAGE(1) General Commands Manual SYNCPACKAGE(1)
NAME
syncpackage - copy source packages from Debian to Ubuntu
SYNOPSIS
syncpackage [options] <.dsc URL/path or package name>
DESCRIPTION
syncpackage causes a source package to be copied from Debian to Ubuntu.
syncpackage allows you to upload files with the same checksums of the Debian ones, as the common script used by Ubuntu archive administra-
tors does, this way you can preserve source files integrity between the two distributions.
syncpackage will detect source tarballs with mismatching checksums, and can perform fake syncs.
WARNING
The use of syncpackage --no-lp, which generates a changes file to be directly uploaded to the Ubuntu primary archive or a PPA, is discour-
aged by the Ubuntu Archive Administrators, as it introduces an unnecessary window for error. This only exists for backward compatibility,
for unusual corner cases (such as fakesyncs), and for uploads to archives other than the Ubuntu primary archive. Omitting this option will
cause Launchpad to perform the sync request directly, which is the preferred method for uploads to the Ubuntu primary archive.
OPTIONS
-h, --help
Show help message and exit
-d DIST, --distribution=DIST
Debian distribution to sync from. Default is testing during LTS cycles, and unstable otherwise.
-r RELEASE, --release=RELEASE
Specify target Ubuntu release. Default: current development release.
-V DEBVERSION, --debian-version=DEBVERSION
Specify the version to sync from.
-c COMPONENT, --component=COMPONENT
Specify the component to sync from.
-b BUG, --bug=BUG
Mark a Launchpad bug as being fixed by this upload.
-s USERNAME, --sponsor=USERNAME
Sponsor the sync for USERNAME (a Launchpad username).
-v, --verbose
Display more progress information.
-F, --fakesync
Perform a fakesync, to work around a tarball mismatch between Debian and Ubuntu. This option ignores blacklisting, and performs a
local sync. It implies --no-lp, and will leave a signed .changes file for you to upload.
-f, --force
Force sync over the top of Ubuntu changes.
--no-conf
Do not read any configuration files, or configuration from environment variables.
-l INSTANCE, --lpinstance=INSTANCE
Launchpad instance to connect to (default: production).
--simulate
Show what would be done, but don't actually do it.
LOCAL SYNC PREPARATION OPTIONS
Options that only apply when using --no-lp:
--no-lp
Construct sync locally, rather than letting Launchpad copy the package directly. It will leave a signed .changes file for you to
upload. See the WARNING above.
-n UPLOADER_NAME, --uploader-name=UPLOADER_NAME
Use UPLOADER_NAME as the name of the maintainer for this upload instead of evaluating DEBFULLNAME and UBUMAIL. This option may only
be used in --no-lp mode.
-e UPLOADER_EMAIL, --uploader-email=UPLOADER_EMAIL
Use UPLOADER_EMAIL as the email address of the maintainer for this upload instead of evaluating DEBEMAIL and UBUMAIL. This option
may only be used in --no-lp mode.
-k KEYID, --key=KEYID
Specify the key ID to be used for signing.
--dont-sign
Do not sign the upload.
-d DEBIAN_MIRROR, --debian-mirror=DEBIAN_MIRROR
Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror, syncpack-
age will fall back to the default mirror.
-s UBUNTU_MIRROR, --debsec-mirror=UBUNTU_MIRROR
Use the specified Debian security mirror. Should be in the form http://archive.ubuntu.com/ubuntu. If the package isn't found on
this mirror, syncpackage will fall back to the default mirror.
ENVIRONMENT
DEBFULLNAME, DEBEMAIL, UBUMAIL
Used to determine the uploader (if not supplied as options). See ubuntu-dev-tools(5) for details.
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
SYNCPACKAGE_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR
The default value for --debian-mirror.
SYNCPACKAGE_UBUNTU_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR
The default value for --ubuntu-mirror.
SYNCPACKAGE_KEYID, UBUNTUTOOLS_KEYID
The default value for --key.
SEE ALSO
requestsync(1), ubuntu-dev-tools(5)
AUTHOR
syncpackage was written by Martin Pitt <martin.pitt@canonical.com> and Benjamin Drung <bdrung@ubuntu.com>.
This manual page were written by Luca Falavigna <dktrkranz@ubuntu.com>
Both are released under GNU General Public License, version 3.
ubuntu-dev-tools June 2010 SYNCPACKAGE(1)