On Tue, 18 Feb 2014, Zhang Weiwu wrote:
I have exclude another possibility.
I am thinking:
1) perhaps the message in /var/log/messages is not produced by init,
but by reboot/halt/shutdown, and
2) perhaps init is not invoked at all.
So I run 'init 6' as
On Tue, 18 Feb 2014, Zhang Weiwu wrote:
Thank you for the hint. I followed your test method and the test result
show this problem has nothing to do with a hanging service.
I have exclude another possibility.
I am thinking:
1) perhaps the message in /var/log/messages is not
On Mon, 17 Feb 2014, Karl E. Jorgensen wrote:
So init knows that you want to shut down/reboot..
My guess is that one of the "early" init scripts are hanging.
Thank you for the hint. I followed your test method and the test result show
this problem has nothing to do with a hanging service.
On Mon, 17 Feb 2014, Brian wrote:
Possibly of help:
http://askubuntu.com/questions/7114/why-cant-i-restart-shutdown
Thanks for the link but I am pretty sure they are talking about a different
problem. The link you provided is among the 100+ search result I found on
google that does not
On Mon, 17 Feb 2014, Thomas H. George wrote:
Is there a best debian program to compress avi videos enough to send
them by email?
I have found ffmpeg and avidemux and am trying to learn to use them but
have not had much success so far.
They are both good, but even if you can get the video do
On Mon, 17 Feb 2014, Joe wrote:
Do you by any chance have pulseaudio installed? I ask because my sid
workstation started doing almost exactly this a few days ago.
No. It was a server box. What you said does hint me that if I can access the
physical machine there may be some clue on the scre
Using Debian 6.0. reboot/halt/shutdown does nothing except announcing the
shutdown and halt the ssh session that issued the command.
But beyond that it really did nothing. Among the things it did not do are:
- no process are killed or terminated. None of mysql, apache, cron daemons
are shut d
Hello. I am looking for an count-down clock. Features are:
* count down to up to 300 seconds. I wish to configure my fluxbox to
activate it by Ctrl+6, which counts down 60 seconds, Ctrl+3 to
count down 30 seconds, thus it must be able to accept commandline
parameter for counting
Several people offered advise. The trick is really how to locate and
kill the parent process, because I have tried otherwise and failed.
Following suggestion from Bob Proulx, killing all processes would ends
up with corrupted temporary files in my case. Bob wrote in detail
explanation of how thinks
Hello. I usually start amuled and kill it after a few hours, I do such
thing once a day. Usually I do it like this:
In one console:
$ amuled
In another:
zhangwe...@mesopotamia:~$ ps ax | grep mule
13595 zhangwei 14080 R N amuled
13598 zhangwei 14080 S N amuled
13600 zhangwei 14080 S N amuled
On 11/17/2010 07:39 AM, Phil Requirements wrote:
> expand--> converts tabs to spaces
> column--> takes a list and displays it in columns
> column -t --> takes lines of data, splits each line, displays the result in
> columns
>
While I see it this way:
expand--> Format tab-indented te
On 11/03/2010 10:04 AM, Zhang Weiwu wrote:
problem:
The usage with -t is to form a table, which, although code level
implementation is similar to multi-column layout, in fact is a very
different usage than what is mentioned in the first paragraph.
Now I think the right move
On 11/16/2010 12:31 AM, Camaleón wrote:
What a strange name for a machine running Debian>;-P
Sorry, the machine is really debian, but in doubt of whether or not this
is a debian-specific problem I decide to try my luck with Ubuntu live CD
and stuck there as well (although not sure if it is 10
Hello.
I put in a PCMCIA harddisk and wait with the hope something new appear
as /dev/sda*, until the hope vanishes. I tried briefly google without
luck, yet finding detail howto only for 2.4 kernel (in linux document
project). Where do you suggest me to go on from here? Detail follows:
Scri
On 11/12/2010 10:57 AM, David Jardine wrote:
> Google will probably lead you to an explanation of
> what BogoMIPS are.
Sure, I checked bogomips before posting a message to this list. I guess
it is not too relative to the original question as bogomips counts only
the instructions that does nothing
Hello. Failed to google a result (keyword: MIPS FLOPS Linux) here I ask
in the list. Wikipedia mention MIPS (million instructions per second)
and FLOPS (similar but calculate float point) for some of CPU
performance indicators. Is there some tool to benchmark this in Debian?
Thanks.
--
To UNSUB
On 11/03/2010 01:44 PM, Phil Requirements wrote:
>
> I find that the column utility belongs to bsdmainutils package, so
> it's a BSD application, not a GNU one. I think it would make sense to
> file a bug, since you want to offer an improvement.
Thanks for point that bsdmainutils out. I had been
On 11/02/2010 08:01 PM, Chris Jackson wrote:
> You could perhaps use awk:
>
> http://unstableme.blogspot.com/2008/12/awk-formatting-fields-into-columns.html
this blog post re-invented the wheel of what column -t is intended.
almust...@orphalese:~$ column -t /tmp/cat
NBSModule Status
54670
On 11/02/2010 08:01 PM, Chris Jackson wrote:
> -c is for the total number of columns. Having said that, I can't get it
> to actually do anything, so I could be wrong.
>
> You could perhaps use awk:
>
> http://unstableme.blogspot.com/2008/12/awk-formatting-fields-into-columns.html
>
> (bit fugly) o
from man column(1)
-c Output is formatted for a display columns wide.
Try:
almust...@orphalese:~$ echo aaa bbb | column -c 20
expected result (17 spaces):
aaabbb
actual result:
almust...@orphalese:~$ echo aaa bbb | column -c 20
aaa bbb
Confusing. Or do I misund
On 11/02/2010 05:04 AM, Karl Vogel wrote:
>On the other hand, if someone sneaks something like
>result_04: dc="3" rm /something/valuable
Thank you! very informative, and, kinda fun to read.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscr
Hello.
A program output is like this:
result_01: a="23" b="288" c="A_string" ac="34"
result_02: a="23" b="28" c="A_string_too" dc="3"
I am writing a script to output values of b if b is in the result set.
It would be rather easy to match value of with regular expression:
/b="([^"]*)"/ #
Thanks for all of you. The answer using pv(1) is what I need.
pv is a 'pipe viewer' that display the progress of a command-line pipe.
It might also able to display other pipes. It is new to me that the tool
perform data rate limit task as well.
A brief check shows trickle, as suggested, is a tool
I noticed I can find out files that were never accessed after the 1st
month I installed my debian without any accounting mechanism but only by
atime. In fact, if I pick up a random file on my system, the chance it
was never accessed since after 1month of debian installation is a bit
higher than it
On 2010年10月10日 05:45, Andrei Popescu wrote:
> IMVHO, I think at least part of the speed increase is based on the fact
> that the head(s) *never* travel to the "back" of the harddisk.
>
A brief search found most of the files on my harddisks are *never*
accessed (since the Debian system installa
Hello. I found my application, which was supposed to run 10 hours,
either run and starve every other service on it, or doesn't run at all.
Even with nice and ionice, I cannot avoid other web services starved by
this application. And it has to run on the production server.
One trick that comes to m
On 2010年10月08日 04:03, Ron Johnson wrote:
>
> You'd need to add accounting complexity to the kernel (where would it
> put the accounting data?)
I had been too brief, but if you read the article I referred to, it
works best only in case you put rarely accessed file to the posterior,
not 'infrequentl
Thanks to the national holiday (Beijing) I begin to read some article
marked for free-time reading a few years ago. One of them is short stroking.
http://www.tomshardware.com/reviews/short-stroking-hdd,2157.html
The article is awfully long just to give a simple idea: by only using
the first 20% o
在 2010-09-30四的 18:20 +0100,Angus Hedger写道:
> 183M (ish) less without LoS
> http://www.babysecurity.co.uk/products/2077/Loc8tor-Plus-Homing-Tracker-Locator-%26-Personal-Panic-Alarm.html
>(UK link)
Thanks a lot, this device look like exactly what I need. Too bad the
very product, produced in China,
On 2010年09月30日 23:34, Zhang Weiwu wrote:
> # If it works outdoor it's enough. No need to use indoor.
> # If it can find the 'partner' in 150 meters it's good enough. 300 meter
> even better. Longer not needed.
In fact, consider the low requirement of the applicati
Being off-topic I don't know which place better to ask such question.
I want to have a radar-like device to track moving object. It should
offer me two piece of information: the angel and the distance of the
object from me. I want to have the similar thing as the radar of
"Conter-Strike" (in game
On 2010年09月27日 18:25, Jochen Schulz wrote:
> It would help to know what software "runs the website". Are we talking
> about Apache2?
No. In fact I wanted to abstract the software running on there for a
reason: there is a http server (not apache2, but bozohttpd because I am
developing a modified ve
On 2010年09月27日 16:54, Scott Ferguson wrote:
> Would dyn-dns help?
ahhh, yes. This is exactly what I used. I know how to get dynamic dns
running, but need a way to control access to it.
Here I re-ask the question in plain language and an improvised example:
I have computer A that runs a websit
On 2010年09月27日 16:19, Zhang Weiwu wrote:
> The problem being the ip address of the FQDN is a dynamic one of the
> same host, changing once per three days.
>
In case I wasn't clear with the above explanation: with dynamic IP
address, dns reverse-lookup won't work.
--
To UN
nsist on either solid security or no security,
please kindly ignore this post.
Best.
Zhang Weiwu
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca053a8.4010...@realss.com
Hi.
On 2009年11月12日 07:53, green wrote:
> Zhang Weiwu wrote at 2009-11-10 20:36 -0600:
>
>> Hello. I have a remote server inside a remote office covered by NAT
>> masquerade where port forwarding not possible, and a local server in my
>> local office not covered by NAT
On 2010年08月28日 12:08, T o n g wrote:
> You didn't provide a test case so here is mine: (followed by a case using
> column)
>
Thank you very much indeed. I wasn't aware of "column" command. Thank
you for your test case as well!
Best regards
Zhang Weiwu
--
To
The output of "ls" is pretty good because:
1. It calculate column width from widest columns.
2. It knows one Chinese ideograph is two letters wide.
3. It aligns columns by flexible space character instead of tab
Is there a text formatting command that formats text like "ls" while
take us
On 2010年08月26日 11:02, Zhang Weiwu wrote:
> I always want a tool that:
>
> * Check the whole data file, for each column, find the widest cell.
> * expand the data file, use widest cell for each column.
> * it should know one ideograph counts two characters wide.
>
two characters wide.
question: is there such a tool? Or do I have to write it myself (using
awk)? If I wrote such a tool, I'll call it "expendest", because it
expends according to widest data cells in each column.
Thanks.
Best.
Zhang Weiwu
On 2010年08月07日 06:41, Bob McGowan wrote:
> My point is that changing only the LANG environment variable changed the
> way 'grep' dealt with the newline character.
You are right this really look like a problem. Where should I file the
bug? The gnu projects management looks mysterious to me, unlik
On 2010年08月04日 00:57, Bob McGowan wrote:
> I would suspect
> the regex engine is still honoring '. (dot) does not match newline'
> convention but is OK with literals, if present.
>
It can be a bug in grep implementation.
If your theory holds true, the following should match, but it doesn't.
$
On 2010年08月04日 04:55, Bob McGowan wrote:
> In fact, the LC_ names all seem to be specific to things
> that would not necessarily impact the regex operation.
>
It is not totally true. The encoding part might. If it is UTF-8, in
theory, [:digit:] should match more than 0-9. It might, for example,
On 2010年08月03日 17:53, Andre Majorel wrote:
>> > $ printf 'a\nb' | grep -zo a.*b
>> >
>> > (The above should output something /if/ -z would make egrep
>> > not consider \n as string terminator. But it has produced no
>> > output)
>>
> But grep -z does. This would seem to be an undocumented
> l
I'm grepping a bunch of files each have a segment code that executes a SQL.
My problem is that the query spans across several lines and I can't
seem to make grep honor (?s) for that. Here's an example:
grep --E 'select.*from.*;' .
so that matches the following fine:
select * from mytable whe
On 2010年06月26日 23:16, Camaleón wrote:
> I am unaware of any specific configuration to prevent this, at least when
> using no DHCP server and you manually define the IP address of the network
> devices.
>
Just for your information I heard a solution. IPwatchD is a userland
tool (in debian) that
Hello. In case IP address conflict is detected, different system behave
differently. I recall in my campus days FreeBSD would ignore it as if IP
address conflict never happened, while Windows system would disable
eithernet interface for a while and try it later. Having used Debian for
a few years I
On 2010年05月28日 05:05, Andrei Popescu wrote:
>
> Yes, and it's an interesting trick you thought of.
>
> But, wouldn't the CDCSS people all send mail from the same domain? This
> way you can just filter on the domain part of the From: e-mail address,
> or am I missing something?
>
But I am also
. I can ask my users to include tag in subject but
they will not always remember to follow this rule.
Imagine this:
Hi folks in CDCSS co ltd. I am Zhang Weiwu and will be responsible for
supporting your computer use. If you have a problem, please email me
(zhangweiwu at realss.com), but don'
be
> readable, duplicating the use of DisplayName.
The meaning of that saying is:
Stan Hoeppner thought the following:
Zhang Weiwu designed his email address to be readable, Zhang Weiwu
by doing so duplicated the use of Display name.
Stan Hoeppner then suggest:
Zhang Weiwu should make
to trigger processing
rule, thus the following email address:
Zhang Weiwu the support engineer of Office IT services of ICD SS
would trigger processing rule on the server to categorize the email to
it_helpdesk request and to categorize it under customer company "icd_ss". When
I leave the
to trigger processing
rule, thus the following email address:
Zhang Weiwu the support engineer of Office IT services of ICD SS
would trigger processing rule on the server to categorize the email to
it_helpdesk request and to categorize it under customer company "icd_ss". When
I leave the
Hello. In our company we use a email naming convention like this:
Zhang Weiwu on Holz Project
Problem being when a special email address is needed for Office IT, it
become too long for many web forms and email clients:
Zhang Weiwu the support engineer of Office IT services of ICD SS
So what
When device is plugged:
$ dmesg | tail -n 9
usb 1-4: new high speed USB device using ehci_hcd and address 4
usb 1-4: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
sc
Zhang Weiwu 写道:
> Sure. libwww and sgrep are tools, while xpath is a language. I believe I
> should try xpath because I might use use it in other places too, but
> what tool to use for xpath?
Now I think I can answer my own question, partly at least. There is a
good tool for xpath that
Steve Kemp 写道:
>
> You might enjoy my "html-tool" command which would do the
> job for you via:
>
Thank you very much for mentioning this tool. A first glance it seems
this tool is just too wonderful, it is just designed to solve problems
like mine. However after I try it what I worry most ha
T o n g 写道:
> For not-so-simple tasks, you need not-so-simple tools. Depending on how
> much time you'd like to investigate into such not-so-simple tools, take a
> look at lib?, sgrep or the xpath language.
>
Sure. libwww and sgrep are tools, while xpath is a language. I believe I
should
Hello. I believe this is a common case and must have been discussed
before on various other forums like awk/sed/regular expression group.
However I could not google them out. You would be helping me a lot if
you simply point to a reference to a solution.
I want to remove all advertisements in my 1
在 2009-12-26六的 19:14 -0500,Celejar写道:
> IIUC, stunnel can indeed do what you want:
Thank you very much. You are right. I underestimate the tool and didn't
go detail enough on it. Thanks a lot!
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Tr
Postscript is always a pain, you can hardly expect it behave the same
way. However I had more luck with PDFs. Usually PDF opens the same in
all viewers.
Here is an example postscript file I fought with it for half a day. It
displays differently in every viewer, and print wrongly from every
viewer
Kwaku Obeng 写道:
> I therefore wish to make an appeal to any of you who can send me a
> copy of the Debian 5.0 DVD Pack.
I can imagine somewhere went wrong during the burning process. However
instead of fighting the burning problem it may be easier to skip the
problem by just starting with a well-m
Hello. I have a case when the client software only speaks non-SSL
protocol and wants to access a server that only offer SSL protocol.
Image a case when a sensitive server admin only offer IMAPS access to
the emails where the email software can only talk plain IMAP, a frequent
case in mobile phone I
Hello. I've installed tsocks from package repository and is working
fine. Except I had to resolve domain name on the remote end, which is
not satisfied.
Reading tsocks man page I realized I had to compile tsocks on my own
with configuration options --enable-socksdns and --disable-hostnames in
ord
Hello. I recently installed Droid font from Google Android project. The
font is then usable in most recent applications except traditional x11
applications. I then found fc-list can list this font but it does not
appear in the output of xlsfonts.
I first tried to install ttf-droid_1.00~b112+dfsg-0
Alex Samad wrote:
> On Wed, Nov 11, 2009 at 10:36:20AM +0800, Zhang Weiwu wrote:
>
>> The problem of this solution is security. I do not want to grant shell
>> access of local_server to remote_server. What would you recommend me to
>> do in this case? I could try to lim
Having read the manual and examples on the Internet, still confused.
Some suggest it is the limit of a session (as
http://www.svantech.com/node/4.
* Was it the size limit of a single process?
* Was it the size limit of a single session?
* If it is for a session, what counts a session?
Hello. I have a remote server inside a remote office covered by NAT
masquerade where port forwarding not possible, and a local server in my
local office not covered by NAT masquerade. In order to access the
remote office and hosts in that office, I do this:
On remote office server, in a screen ses
Hello. We have a great firewall that scans keywords on tcp connections'
raw data, thus I could not use my http proxy server outside of the
firewall because both direct connection to the web server and in-direct
connect to the http proxy are scanned by the firewall.
My trick is to run 'ssh -L' and
68 matches
Mail list logo