- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- at or cron limitation ????
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 11:36 PM
09-12-2002 11:36 PM
#!/bin/ksh
cat jas* > big2
exit 0
The listing of the jas files show that they are each 700 megs in size.
744408589 Sep 12 12:01 jas
744408589 Sep 12 12:02 jas1
744408589 Sep 12 12:03 jas2
744408589 Sep 12 12:04 jas3
If I run the manually script it runs successfully and creates a file of 2.9 gigs as per listing below.
2977634356 Sep 12 12:07 big2
But if I run the script with
at -f test.sh
it only creates a file of 2 gigs
2147483136 Sep 12 14:53 big2
Any ideas out there ?????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 11:51 PM
09-12-2002 11:51 PM
Re: at or cron limitation ????
#!/bin/ksh
for file in jas*
do
echo $file >>/tmp/filelog
cat $file
done >big2 2>/tmp/errorlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 11:57 PM
09-12-2002 11:57 PM
Re: at or cron limitation ????
If not, it could be that the filesystem that the cron job is writing to doesn't have largefiles enabled.
Check using
mkfs -m /dev/vgXX/lvolYY
This should give you something like
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,largefiles /dev/vg05/lvol11 4096000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 12:17 AM
09-13-2002 12:17 AM
Re: at or cron limitation ????
I have created an error log
this is the output.
more /tmp/errorlog
Error 0
cat: Cannot write to output.
File too large
cat: Cannot write to output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 12:42 AM
09-13-2002 12:42 AM
Re: at or cron limitation ????
Enabling largefiles will fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 12:43 AM
09-13-2002 12:43 AM
SolutionCheck out this link
http://support4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27141&context=hpux:800:11:00
This patch has the fix you'll need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 12:55 AM
09-13-2002 12:55 AM
Re: at or cron limitation ????
Chris is right.
I think the output from the errorlog says only, that /tmp hasn't enabled the largefile option and doesn't point to the original problem.
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 12:27 AM
09-16-2002 12:27 AM
Re: at or cron limitation ????
The patch resolved the problem..........