Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Ls returning differing results Post 303024109 by MuntyScrunt on Sunday 30th of September 2018 06:38:45 AM
Old 09-30-2018
Ls returning differing results

Hi there.

I have several raspberries, Im currently logged (ssh) into 2 of them, both identical os, same user, both up to date. Both mounted to a Nas, but when I ls the same dir on the Nas one lists all the 1498 files, one lists a random subset of files, about 30.

I had a problem yesterday where ls returned nothing, but didn't error. I re-mounted the Nas and all was well again. The Nas doesn't have any power saving turned on.

All of the pis are running code and exporting data to this dir, so it's kind of important that the mount is solid. My network is fine, it's all good kit and I have no problems with anything else, the only possible weak point is; the pis are all wifi connected at the moment, but they're only 3 ft away from the router.

So, (1) why is the mount proving to be a bit flakey, (2) why would ls return random results, (3) if ls returns nothing will data still be saved to the dir, and (4) what can I do to strengthen this weak point?

Many Thanks.

------ Post updated at 11:38 AM ------

As a quick follow up to this, what would be a safe way to refresh the problem mount?

Of course I can umount <share>, mount -a, every hour or something, but how do i make sure my other processes aren't writing at this time? I can't stop the processes, I could potentially loose up to 5x12 hours of processing.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

echo contents of differing variable names

I'm trying to write a script that reads down a listcontaining various columns, if line1 column 1 != 0 then copy various field to variable field1, then check line1 column2 if > 0 this time copy to variable field2 ... Once all columns checked I want to print the value of each variable if it exists... (2 Replies)
Discussion started by: gefa
2 Replies

2. UNIX for Dummies Questions & Answers

Differing lastb output format across servers

Google's failed me (and admins), hoping you guys can help out. I wrote a web-enabled polling app that goes out and sudo lastb's all our servers every so often, and stores the results. All was well, until I added 3 new servers to my list. Normal lastb output (my code basis): userx ... (0 Replies)
Discussion started by: jtp353
0 Replies

3. Shell Programming and Scripting

Script returning null results

Hi, The following shell script returning null results could you please tell me whats the problem in script, ********************************* #!/bin/ksh . $HOME/conf/systemProperties/EnvSetup.properties a=`date +"%y%m%d"` set -x for i in `cat... (2 Replies)
Discussion started by: shivanete
2 Replies

4. UNIX for Dummies Questions & Answers

Compare two directories and copy differing files

Hello there, I'm a total noob to shell scripting. :) What I want to do is compare the contents of Folder A and Folder B, and copy any files in Folder A that do not exist in Folder B over to Folder B. I have gotten so far as: diff -rq folderA folderB which returns the names of the files,... (3 Replies)
Discussion started by: raaaaaa
3 Replies

5. Solaris

top output and swap -s output are differing

Solaris experts, Am struggling, and wondering for the past more than one week that, how to calculate the total available and used memory/swap space. Finally installed and used top & got some understanding, but while cross-checking, there are mismatches. Main Memory top o/p - 2GB... (7 Replies)
Discussion started by: thegeek
7 Replies

6. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies

7. UNIX for Dummies Questions & Answers

[Solved] Help correcting file with differing number of fields

Hi all, I have a tab separated file, and one of the fields is sub-delimited by colon. The problem is there can be zero to 4 colons within this field. When I try to change colons to tabs the result is a file with a differing number of fields. I want to go from: a:b:c:d:e a:b:c a:b:c:d:e a... (4 Replies)
Discussion started by: torchij
4 Replies

8. UNIX for Beginners Questions & Answers

Ldapsearch returning base64 encoded results

So my ldapsearch works great, except for some results I found today. My search is: /usr/lib64/mozldap/ldapsearch -T -h 10.1.1.1 -p 3891 -D "uid=datapower,ou=People,dc=blah,dc=com" -w xxxxxx -b "ou=Certs,dc=blah,dc=com"... (0 Replies)
Discussion started by: primerib
0 Replies

9. Shell Programming and Scripting

I want to add a variable for the results from the formula of one variable and results of another var

Good morning all, This is the file name in question OD_Orders_2019-02-19.csv I am trying to create a bash script to read into files with yesterdays date on the file name while retaining the rest of the files name. I would like for $y to equal, the name of the file with a formula output with... (2 Replies)
Discussion started by: Ibrahim A
2 Replies

10. UNIX for Beginners Questions & Answers

Is there a UNIX command that can compare fields of files with differing number of fields?

Hi, Below are the sample files. x.txt is from an Excel file that is a list of users from Windows and y.txt is a list of database account. $ head -500 x.txt y.txt ==> x.txt <== TEST01 APP_USER_PROFILE USER03 APP_USER_PROFILE TEST02 APP_USER_EXP_PROFILE TEST04 APP_USER_PROFILE USER01 ... (3 Replies)
Discussion started by: newbie_01
3 Replies
DateTime::Locale::cch(3)				User Contributed Perl Documentation				  DateTime::Locale::cch(3)

NAME
DateTime::Locale::cch SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'cch' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Atsam. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) Wai Tunga Toki Gitung Tsam Kasuwa Wai Na Nas Wai Na Tiyon Wai Na Chirim Wai Yoka Bawai Abbreviated (format) Tung T. Tung Tsan Nas Nat Chir Yok Narrow (format) 2 3 4 5 6 7 1 Wide (stand-alone) Wai Tunga Toki Gitung Tsam Kasuwa Wai Na Nas Wai Na Tiyon Wai Na Chirim Wai Yoka Bawai Abbreviated (stand-alone) Tung T. Tung Tsan Nas Nat Chir Yok Narrow (stand-alone) 2 3 4 5 6 7 1 Months Wide (format) Pen Dyon Pen Ba'a Pen Atat Pen Anas Pen Atyon Pen Achirim Pen Atariba Pen Awurr Pen Shadon Pen Shakur Pen Kur Naba Pen Kur Natat Abbreviated (format) Dyon Baa Atat Anas Atyo Achi Atar Awur Shad Shak Naba Nata Narrow (format) 1 2 3 4 5 6 7 8 9 10 11 12 Wide (stand-alone) Pen Dyon Pen Ba'a Pen Atat Pen Anas Pen Atyon Pen Achirim Pen Atariba Pen Awurr Pen Shadon Pen Shakur Pen Kur Naba Pen Kur Natat Abbreviated (stand-alone) Dyon Baa Atat Anas Atyo Achi Atar Awur Shad Shak Naba Nata Narrow (stand-alone) 1 2 3 4 5 6 7 8 9 10 11 12 Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide Gabanin Miladi Miladi Abbreviated GM M Narrow GM M Date Formats Full 2008-02-05T18:30:30 = Toki Gitung, 2008 Pen Ba'a 05 1995-12-22T09:05:02 = Wai Na Tiyon, 1995 Pen Kur Natat 22 -0010-09-15T04:44:23 = Wai Na Chirim, -10 Pen Shadon 15 Long 2008-02-05T18:30:30 = 2008 Pen Ba'a 5 1995-12-22T09:05:02 = 1995 Pen Kur Natat 22 -0010-09-15T04:44:23 = -10 Pen Shadon 15 Medium 2008-02-05T18:30:30 = 2008 Baa 5 1995-12-22T09:05:02 = 1995 Nata 22 -0010-09-15T04:44:23 = -10 Shad 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 Baa 5 1995-12-22T09:05:02 = 1995 Nata 22 -0010-09-15T04:44:23 = -10 Shad 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = Toki Gitung, 2008 Pen Ba'a 05 18:30:30 UTC 1995-12-22T09:05:02 = Wai Na Tiyon, 1995 Pen Kur Natat 22 09:05:02 UTC -0010-09-15T04:44:23 = Wai Na Chirim, -10 Pen Shadon 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 Pen Ba'a 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 Pen Kur Natat 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 Pen Shadon 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 Baa 5 18:30:30 1995-12-22T09:05:02 = 1995 Nata 22 09:05:02 -0010-09-15T04:44:23 = -10 Shad 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 Baa 5 18:30:30 1995-12-22T09:05:02 = 1995 Nata 22 09:05:02 -0010-09-15T04:44:23 = -10 Shad 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 T. Tung 1995-12-22T09:05:02 = 22 Nat -0010-09-15T04:44:23 = 15 Chir Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 PM 1995-12-22T09:05:02 = 9:05 AM -0010-09-15T04:44:23 = 4:44 AM Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 PM 1995-12-22T09:05:02 = 9:05:02 AM -0010-09-15T04:44:23 = 4:44:23 AM M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = T. Tung, 2-5 1995-12-22T09:05:02 = Nat, 12-22 -0010-09-15T04:44:23 = Chir, 9-15 MMM (LLL) 2008-02-05T18:30:30 = Baa 1995-12-22T09:05:02 = Nata -0010-09-15T04:44:23 = Shad MMMd (MMM d) 2008-02-05T18:30:30 = Baa 5 1995-12-22T09:05:02 = Nata 22 -0010-09-15T04:44:23 = Shad 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = T. Tung Baa 5 1995-12-22T09:05:02 = Nat Nata 22 -0010-09-15T04:44:23 = Chir Shad 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Pen Ba'a 5 1995-12-22T09:05:02 = Pen Kur Natat 22 -0010-09-15T04:44:23 = Pen Shadon 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = T. Tung Pen Ba'a 5 1995-12-22T09:05:02 = Nat Pen Kur Natat 22 -0010-09-15T04:44:23 = Chir Pen Shadon 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = T. Tung, 2008-2-5 1995-12-22T09:05:02 = Nat, 1995-12-22 -0010-09-15T04:44:23 = Chir, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Baa 1995-12-22T09:05:02 = 1995 Nata -0010-09-15T04:44:23 = -10 Shad yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = T. Tung, 2008 Baa 5 1995-12-22T09:05:02 = Nat, 1995 Nata 22 -0010-09-15T04:44:23 = Chir, -10 Shad 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Pen Ba'a 1995-12-22T09:05:02 = 1995 Pen Kur Natat -0010-09-15T04:44:23 = -10 Pen Shadon yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Wai Tunga SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.18.2 2017-10-06 DateTime::Locale::cch(3)
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy